Skip to content

test+docs: nonce/clamp/rune-cap tests; 3.4.0 changelog; /mute inline … #72

test+docs: nonce/clamp/rune-cap tests; 3.4.0 changelog; /mute inline …

test+docs: nonce/clamp/rune-cap tests; 3.4.0 changelog; /mute inline … #72

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: gofmt
run: |
unformatted="$(gofmt -l .)"
if [ -n "$unformatted" ]; then
echo "These files are not gofmt-clean:"; echo "$unformatted"; exit 1
fi
- name: go vet
run: go vet ./...
- name: build
run: go build ./...
- name: test
run: go test -race ./...
- name: govulncheck
run: go run golang.org/x/vuln/cmd/govulncheck@latest ./...