From 76a2831d9238b31ac3d13e0a35b93090bf7265af Mon Sep 17 00:00:00 2001 From: Heidi Berry Date: Fri, 3 May 2024 15:35:13 +0100 Subject: [PATCH 1/2] Update versions of github actions used in lint_and_test --- .github/workflows/lint_and_test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index a47aa3067..6a6cd8d3e 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -15,15 +15,15 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Lint package - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v5 with: version: latest @@ -33,7 +33,7 @@ jobs: go tool cover -func coverage.txt - name: Update coverage report - uses: ncruces/go-coverage-report@v0.2.3 + uses: ncruces/go-coverage-report@v0.3.0 with: report: 'true' amend: 'true' From fc46d80ad2f58059ea4040c2692a0ea0b31037ec Mon Sep 17 00:00:00 2001 From: Heidi Berry Date: Fri, 3 May 2024 15:46:25 +0100 Subject: [PATCH 2/2] Switch off caching when installing go --- .github/workflows/lint_and_test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index 6a6cd8d3e..baaa452d4 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -18,6 +18,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} + cache: false - name: Checkout code uses: actions/checkout@v4