Skip to content

Merge pull request #396 from gofiber/dependabot/github_actions/benchm… #173

Merge pull request #396 from gofiber/dependabot/github_actions/benchm…

Merge pull request #396 from gofiber/dependabot/github_actions/benchm… #173

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'