Skip to content

chore(deps): bump goreleaser/goreleaser-action from 6 to 7 #25

chore(deps): bump goreleaser/goreleaser-action from 6 to 7

chore(deps): bump goreleaser/goreleaser-action from 6 to 7 #25

Workflow file for this run

name: Test
on:
push:
branches: [master]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
- name: Check gofmt
run: test -z "$(gofmt -l .)" || { echo "Run gofmt:"; gofmt -l .; exit 1; }
- name: Check go mod tidy
run: go mod tidy && git diff --exit-code go.mod go.sum
- run: go build ./...
- run: go vet ./...
- run: go test -race ./...
- name: Install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- run: staticcheck ./...
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- run: govulncheck ./...