.github/workflows/golangci-lint.yml
raw| 1 | name: golangci-lint |
| 2 | on: |
| 3 | pull_request: |
| 4 | permissions: |
| 5 | contents: read |
| 6 | jobs: |
| 7 | golangci: |
| 8 | name: lint |
| 9 | runs-on: ubuntu-latest |
| 10 | steps: |
| 11 | - uses: actions/setup-go@v6 |
| 12 | with: |
| 13 | go-version: 1.24.x |
| 14 | - uses: actions/checkout@v6 |
| 15 | - name: golangci-lint |
| 16 | uses: golangci/golangci-lint-action@v9 |
| 17 | with: |
| 18 | version: v2.1.6 |