From 689941366cbe16bfa127ff6f0fb155829c557803 Mon Sep 17 00:00:00 2001 From: Adam Harvey <33203301+adamdmharvey@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:40:30 -0500 Subject: [PATCH 1/2] fix(ci): Download Go modules before linting to resolve typecheck errors Signed-off-by: Adam Harvey <33203301+adamdmharvey@users.noreply.github.com> --- .github/workflows/ci.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3ff304fc..9bf5df03 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -24,6 +24,7 @@ jobs: go-version: ${{ env.GOLANG_VERSION }} - name: Checkout code uses: actions/checkout@v3 + - run: go mod download - name: Run golangci-lint uses: golangci/golangci-lint-action@v3 with: From 2779b52c1d2130ae4103ff623a6a4061d5b37977 Mon Sep 17 00:00:00 2001 From: Adam Harvey <33203301+adamdmharvey@users.noreply.github.com> Date: Mon, 8 Jan 2024 13:57:05 -0500 Subject: [PATCH 2/2] chore(ci): Latest version of GoLang CI Lint Signed-off-by: Adam Harvey <33203301+adamdmharvey@users.noreply.github.com> --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9bf5df03..8a95fe0e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,7 +28,7 @@ jobs: - name: Run golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.53.3 + version: v1.55.2 args: --timeout 5m test: runs-on: ubuntu-latest