1name: golangci-lint 2 3on: 4 push: 5 tags: 6 - v* 7 branches: 8 - master 9 - main 10 - v9 11 - v9.8 12 pull_request: 13 14permissions: 15 contents: read 16 pull-requests: read # for golangci/golangci-lint-action to fetch pull requests 17 18jobs: 19 golangci: 20 name: lint 21 runs-on: ubuntu-latest 22 steps: 23 - uses: actions/checkout@v5 24 - name: golangci-lint 25 uses: golangci/golangci-lint-action@v8.0.0 26 with: 27 verify: true 28