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