.github/workflows/lint.yml
raw| 1 | name: lint |
| 2 | on: [push] |
| 3 | jobs: |
| 4 | golangci: |
| 5 | name: lint |
| 6 | runs-on: ubuntu-latest |
| 7 | steps: |
| 8 | - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 |
| 9 | - uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 |
| 10 | with: |
| 11 | go-version-file: "go.mod" |
| 12 | - uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0 |
| 13 | - name: Run go vet |
| 14 | run: | |
| 15 | go vet ./... |