Skip to content

🌱 Bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 #2801

🌱 Bump golangci/golangci-lint-action from 5.3.0 to 6.0.1

🌱 Bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 #2801

Workflow file for this run

name: golangci-lint
on:
pull_request:
types: [opened, edited, synchronize, reopened]
branches:
- main
permissions:
# Required: allow read access to the content for analysis.
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
# Optional: Allow write access to checks to allow the action to annotate code in the PR.
checks: write
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
strategy:
matrix:
working-directory:
- ""
- tools/setup-envtest
steps:
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # tag=v5.0.1
with:
go-version: "1.22"
cache: false
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # tag=v4.1.5
- name: golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # tag=v6.0.1
with:
version: v1.57.2
args: --out-format=colored-line-number
working-directory: ${{matrix.working-directory}}