Skip to content

Upgrade golangci-lint to v1.63.4 #278

Upgrade golangci-lint to v1.63.4

Upgrade golangci-lint to v1.63.4 #278

Workflow file for this run

name: CI
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
actionlint:
uses: ./.github/workflows/actionlint.yml
secrets: inherit
lint-golangci-yml:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
- name: Setup Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
with:
go-version: 'stable'
check-latest: true
cache: true
- name: Install golangci-lint # TODO: replace with golangci-lint action or fully deprecate in favor of goLint.yml?
run: |
curl -sSfL "https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh" | sh -s -- -b "$(go env GOPATH)/bin" v1.63.4
- name: Lint golangci-lint.yml config
run: |
"$(go env GOPATH)/bin/golangci-lint" config verify