Skip to content

Bump golangci/golangci-lint-action from 5 to 6 #8

Bump golangci/golangci-lint-action from 5 to 6

Bump golangci/golangci-lint-action from 5 to 6 #8

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 ./...