From 3e5e91dbbe6edf31388d893bb60b838a0d974ca3 Mon Sep 17 00:00:00 2001 From: Piotr Galar Date: Tue, 5 Sep 2023 09:30:09 +0200 Subject: [PATCH] ci: remove obsolete protocol/cache-go-action (#10114) --- .github/workflows/build.yml | 6 ------ .github/workflows/gobuild.yml | 3 --- .github/workflows/golint.yml | 3 --- .github/workflows/gotest.yml | 4 ---- .github/workflows/sharness.yml | 4 ---- 5 files changed, 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb8921d94c2..7222876d0bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,9 +40,6 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - uses: actions/checkout@v4 - - uses: protocol/cache-go-action@v1 - with: - name: ${{ github.job }} - run: make build - uses: actions/upload-artifact@v3 with: @@ -136,9 +133,6 @@ jobs: sleep 1 done timeout-minutes: 5 - - uses: protocol/cache-go-action@v1 - with: - name: ${{ github.job }} - run: go test -count=1 -v ./... working-directory: go-ipfs-api - run: cmd/ipfs/ipfs shutdown diff --git a/.github/workflows/gobuild.yml b/.github/workflows/gobuild.yml index ea158c43437..d8854b3b62b 100644 --- a/.github/workflows/gobuild.yml +++ b/.github/workflows/gobuild.yml @@ -32,9 +32,6 @@ jobs: with: go-version: 1.20.x - uses: actions/checkout@v4 - - uses: protocol/cache-go-action@v1 - with: - name: ${{ github.job }} - run: make cmd/ipfs-try-build env: TEST_FUSE: 1 diff --git a/.github/workflows/golint.yml b/.github/workflows/golint.yml index 000f616130e..602adc8b77a 100644 --- a/.github/workflows/golint.yml +++ b/.github/workflows/golint.yml @@ -33,7 +33,4 @@ jobs: with: go-version: 1.20.x - uses: actions/checkout@v4 - - uses: protocol/cache-go-action@v1 - with: - name: ${{ github.job }} - run: make -O test_go_lint diff --git a/.github/workflows/gotest.yml b/.github/workflows/gotest.yml index e033e81f24f..cfd3abb0117 100644 --- a/.github/workflows/gotest.yml +++ b/.github/workflows/gotest.yml @@ -37,10 +37,6 @@ jobs: uses: actions/checkout@v4 - name: Install missing tools run: sudo apt update && sudo apt install -y zsh - - name: Restore Go cache - uses: protocol/cache-go-action@v1 - with: - name: ${{ github.job }} - name: 👉️ If this step failed, go to «Summary» (top left) → inspect the «Failures/Errors» table env: # increasing parallelism beyond 2 doesn't speed up the tests much diff --git a/.github/workflows/sharness.yml b/.github/workflows/sharness.yml index 1d5ab958396..26b06dece16 100644 --- a/.github/workflows/sharness.yml +++ b/.github/workflows/sharness.yml @@ -32,10 +32,6 @@ jobs: path: kubo - name: Install missing tools run: sudo apt update && sudo apt install -y socat net-tools fish libxml2-utils - - name: Restore Go Cache - uses: protocol/cache-go-action@v1 - with: - name: ${{ github.job }} - uses: actions/cache@v3 with: path: test/sharness/lib/dependencies