Skip to content

golangci-lint

golangci-lint #346

Workflow file for this run

name: golangci-lint
on:
pull_request:
merge_group:
permissions:
contents: read
checks: write # Optional: allow write access to checks to allow the action to annotate code in the PR.
jobs:
golangci:
name: Lint
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Run Golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout 30m --verbose
version: v1.60