.github/workflows/lint.yml
raw| 1 | name: Linter |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: |
| 6 | - master |
| 7 | - main |
| 8 | paths-ignore: |
| 9 | - "**/*.md" |
| 10 | pull_request: |
| 11 | paths-ignore: |
| 12 | - "**/*.md" |
| 13 | workflow_dispatch: |
| 14 | |
| 15 | concurrency: |
| 16 | group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} |
| 17 | cancel-in-progress: true |
| 18 | |
| 19 | permissions: |
| 20 | contents: read |
| 21 | pull-requests: read |
| 22 | checks: write |
| 23 | |
| 24 | jobs: |
| 25 | lint: |
| 26 | uses: gofiber/.github/.github/workflows/go-lint-single.yml@main |