Skip to content

Merge pull request #392 from gofiber/dependabot/github_actions/tj-act… #174

Merge pull request #392 from gofiber/dependabot/github_actions/tj-act…

Merge pull request #392 from gofiber/dependabot/github_actions/tj-act… #174

Workflow file for this run

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@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
# NOTE: Keep this in sync with the version from go.mod
go-version: '1.20.x'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
# NOTE: Keep this in sync with the version from .golangci.yml
version: 'v1.56.2'