Skip to content

Commit

Permalink
specify golangci-lint version explicitly
Browse files Browse the repository at this point in the history
By default, the action uses `latest`, which can cause new issues to
appear independent of any code changes in this repository.

Signed-off-by: Spencer Schrock <[email protected]>
  • Loading branch information
spencerschrock committed Feb 13, 2025
1 parent 8902e23 commit 5c40bbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ on:
env:
PROTOC_VERSION: 3.17.3
GO_VERSION: 1.23
GOLANGCI_LINT_VERSION: v1.63

jobs:
build-scorecard-webapp:
Expand All @@ -48,6 +49,7 @@ jobs:
uses: golangci/golangci-lint-action@051d91933864810ecd5e2ea2cfd98f6a5bca5347 # v6.3.2
with:
args: --config=.golangci.yml
version: ${{ env.GOLANGCI_LINT_VERSION }}
- name: Check license headers
run: |
go env -w GOFLAGS=-mod=mod
Expand Down

0 comments on commit 5c40bbe

Please sign in to comment.