Skip to content

Add govulncheck

Add govulncheck #1

Workflow file for this run

---
name: staticcheck
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: "${{ github.workflow }}-$${{ github.pull_request.number || github.run_id }}"
cancel-in-progress: true
jobs:
staticcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- run: go install honnef.co/go/tools/cmd/staticcheck@latest
- run: $(go env GOPATH)/bin/staticcheck ./...