Skip to content

Update golangci/golangci-lint-action action to v6 #401

Update golangci/golangci-lint-action action to v6

Update golangci/golangci-lint-action action to v6 #401

Workflow file for this run

name: golangci-lint
on:
pull_request:
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
check-latest: true # https://github.com/actions/setup-go#check-latest-version
cache: true # https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.54.2
args: --timeout=5m