Skip to content

CI: update actions to v6 (Node.js 24) #2

CI: update actions to v6 (Node.js 24)

CI: update actions to v6 (Node.js 24) #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Vet
run: go vet ./...
- name: Test
run: go test -race -count=1 ./...
- name: Format check
run: |
if [ -n "$(gofmt -l .)" ]; then
echo "Files not formatted:"
gofmt -l .
exit 1
fi