From c660a6e8f3ed566de12845013e3331e9ae632623 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Mon, 4 Mar 2024 17:38:00 +0300 Subject: [PATCH] workflows: remove `cache` argument from setup-go action `actions/setup-go@v5` doesn't have `cache` argument. Signed-off-by: Anna Shaleva --- .github/workflows/build.yml | 2 -- .github/workflows/tests.yml | 1 - 2 files changed, 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fdaacd792..48f30c015 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.21' - cache: true - name: Build CLI run: make build @@ -137,7 +136,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: '1.21' - cache: true - name: Login to DockerHub if: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.event.inputs.push_image == 'true') }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1c6123ec5..0a084a9f5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -147,7 +147,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: '${{ matrix.go_versions }}' - cache: true - name: Run tests run: go test -v -race ./...