Skip to content

golangci-lint

golangci-lint #2363

Workflow file for this run

name: golangci-lint
on:
merge_group:
pull_request:
types: [opened, edited, synchronize, reopened]
# Remove all permissions from GITHUB_TOKEN except metadata.
permissions: {}
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
strategy:
matrix:
working-directory:
- ""
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v2.1.0
working-directory: ${{matrix.working-directory}}
args: --timeout=5m0s
skip-cache: true