diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 097a8ad..58683b9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -31,7 +31,10 @@ jobs: run: go mod download - name: Run tests - run: go test -v -race -coverprofile=coverage.out ./... + env: + XAI_API_KEY: ${{ secrets.XAI_API_KEY }} + run: | + go test -v -race -coverprofile=coverage.out ./... - name: Upload coverage uses: codecov/codecov-action@v4 @@ -41,7 +44,7 @@ jobs: lint: name: Lint - runs-on: ubuntu-latest + runs-on: ubuntu-gitea steps: - name: Checkout code uses: actions/checkout@v4 @@ -58,7 +61,7 @@ jobs: build: name: Build - runs-on: ubuntu-latest + runs-on: ubuntu-gitea steps: - name: Checkout code uses: actions/checkout@v4