Merge pull request #160 from flashcatcloud/fix/incident-list-channel-… #373
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: golangci-lint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| golangci: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v7 | |
| with: | |
| # Follow the module's own Go, the way ci.yml already does. Chasing | |
| # "stable" means every upstream Go release lands here unannounced, | |
| # and golangci-lint is a prebuilt binary that can only parse source | |
| # up to the Go it was built with: Go 1.27.0 going stable made v2.11 | |
| # (built with go1.26) panic with "file requires newer Go version", | |
| # which is a repo-wide red on every open PR, triggered by nothing in | |
| # the repo. Pinning to go.mod means lint only moves when we move. | |
| go-version-file: "go.mod" | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: v2.11 |