mirror of
https://github.com/imjasonh/infinite-git
synced 2026-07-11 18:31:27 +00:00
Combine CI jobs into a single "test" job
https://claude.ai/code/session_015F9BYQoCy2P2zYZBuVeXHH
This commit is contained in:
parent
43e577d58d
commit
1246262218
1 changed files with 4 additions and 13 deletions
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
|
|
@ -10,7 +10,7 @@ permissions:
|
|||
contents: read
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -22,17 +22,8 @@ jobs:
|
|||
- name: Build
|
||||
run: go build ./...
|
||||
|
||||
- name: Test
|
||||
run: go test ./... -timeout 60s -race
|
||||
|
||||
vet:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
- name: Vet
|
||||
run: go vet ./...
|
||||
|
||||
- name: Test
|
||||
run: go test ./... -timeout 60s -race
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue