From 2b0705a60184fcea5bf1d6b9a634a98f6045a757 Mon Sep 17 00:00:00 2001 From: apostasie Date: Fri, 6 Dec 2024 20:26:46 -0800 Subject: [PATCH] Remove spurious cache true, default for action/go Signed-off-by: apostasie --- .github/workflows/lint.yml | 2 -- .github/workflows/test-canary.yml | 1 - .github/workflows/test.yml | 4 ---- 3 files changed, 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 0d557eec84b..37766a246a9 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -50,7 +50,6 @@ jobs: with: go-version: ${{ env.GO_VERSION }} check-latest: true - cache: true - name: golangci-lint uses: golangci/golangci-lint-action@774c35bcccffb734694af9e921f12f57d882ef74 # v6.1.1 with: @@ -67,7 +66,6 @@ jobs: with: go-version: ${{ env.GO_VERSION }} check-latest: true - cache: true - name: yaml run: make lint-yaml - name: shell diff --git a/.github/workflows/test-canary.yml b/.github/workflows/test-canary.yml index c63cdf6fc12..b222ad2120e 100644 --- a/.github/workflows/test-canary.yml +++ b/.github/workflows/test-canary.yml @@ -73,7 +73,6 @@ jobs: - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: go-version: ${{ env.GO_VERSION }} - cache: true check-latest: true - run: go install ./cmd/nerdctl - run: go install -v gotest.tools/gotestsum@v1 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74c8fd941d2..5aa31126a8a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -80,7 +80,6 @@ jobs: with: go-version: ${{ env.GO_VERSION }} check-latest: true - cache: true - if: ${{ matrix.goos=='windows' }} uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: @@ -319,7 +318,6 @@ jobs: - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: go-version: ${{ matrix.go-version }} - cache: true check-latest: true - name: "build" run: GO_VERSION="$(echo ${{ matrix.go-version }} | sed -e s/.x//)" make binaries @@ -335,7 +333,6 @@ jobs: - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: go-version: ${{ env.GO_VERSION }} - cache: true check-latest: true - name: "Register QEMU (tonistiigi/binfmt)" run: | @@ -371,7 +368,6 @@ jobs: - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: go-version: ${{ env.GO_VERSION }} - cache: true check-latest: true - run: go install ./cmd/nerdctl - run: go install -v gotest.tools/gotestsum@v1