From a774316fdc37708656eb5abe79f48d19ff1ce00f Mon Sep 17 00:00:00 2001 From: justinsb Date: Tue, 27 Feb 2024 10:14:58 -0500 Subject: [PATCH] chore: don't install go in lint github action This seems to cause double caching. https://github.com/golangci/golangci-lint-action/issues/135 --- .github/workflows/lint.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6836685190..557e79eaa8 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -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 \ No newline at end of file + version: v1.54.1 # should match the version in Makefile