Skip to content

Commit

Permalink
ci: separate build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
tmc committed Mar 24, 2024
1 parent b870ae1 commit dc3a231
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,23 @@ jobs:
with:
args: --timeout=4m
version: v1.57.1
build-test:
build:
runs-on: ubuntu-latest
environment: ci
steps:
- uses: actions/setup-go@v4
with:
go-version: stable
- uses: actions/checkout@v3
- name: Build
run: go build -v ./...
test:
runs-on: ubuntu-latest
environment: ci
steps:
- uses: actions/setup-go@v4
with:
go-version: stable
- uses: actions/checkout@v3
- name: Run tests with coverage
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
Expand Down

0 comments on commit dc3a231

Please sign in to comment.