ci: gofmt/vet/race/vendor checks via Makefile; release reuses CI
- Makefile targets: build, test, race, fmt-check, vet, vendor-check, lint, ci - ci.yml runs fmt-check, vet, vendor-check, build and race tests; also on rework/** branches and callable from release.yml - gofmt the three files that were not formatted Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
1f6f400276
commit
829b1237b2
7 changed files with 98 additions and 36 deletions
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
|
@ -13,19 +13,7 @@ env:
|
|||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- name: Run tests
|
||||
run: GOFLAGS=-mod=vendor go test ./...
|
||||
uses: ./.github/workflows/ci.yml
|
||||
|
||||
release:
|
||||
needs: test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue