Skip to content

Commit

Permalink
chore: don't install go in lint github action
Browse files Browse the repository at this point in the history
This seems to cause double caching.

golangci/golangci-lint-action#135
  • Loading branch information
justinsb committed Feb 27, 2024
1 parent 542bafa commit a774316
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/lint.yaml
Expand Up @@ -36,11 +36,12 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.5
# Note: go set up is harmful because of https://github.com/golangci/golangci-lint-action/issues/135
# - name: Set up Go
# uses: actions/setup-go@v4
# with:
# go-version: 1.21.5
- name: golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
version: v1.54.1 # should match the version in Makefile
version: v1.54.1 # should match the version in Makefile

0 comments on commit a774316

Please sign in to comment.