update for fiber v3 #258
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: | |
| - "master" | |
| - "main" | |
| paths-ignore: | |
| - "**.md" | |
| - LICENSE | |
| - ".github/ISSUE_TEMPLATE/*.yml" | |
| - ".github/dependabot.yml" | |
| pull_request: | |
| branches: | |
| - "*" | |
| paths-ignore: | |
| - "**.md" | |
| - LICENSE | |
| - ".github/ISSUE_TEMPLATE/*.yml" | |
| - ".github/dependabot.yml" | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| checks: write | |
| jobs: | |
| golangci-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch Repository | |
| uses: actions/checkout@v5 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| # NOTE: Keep this in sync with the version from go.mod | |
| go-version: '1.25.x' | |
| cache: false | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v7 | |
| env: | |
| GOLANGCI_LINT_SKIP_GOVERSION_CHECK: "1" | |
| with: | |
| # NOTE: Keep this in sync with the version from .golangci.yml | |
| version: 'v2.5.0' |