@ -32,6 +32,14 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: dominikh/staticcheck-action@v1.2.0
- name: Set up Go
uses: actions/setup-go@v2
version: "2022.1.1"
go-version: 1.18
- uses: install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- uses: run static check
run: staticcheck ./...