From 6cf4d8aa7768130d95a956d42cf16a71f8ac3825 Mon Sep 17 00:00:00 2001 From: chenk Date: Sat, 3 Feb 2024 10:20:23 +0200 Subject: [PATCH] chore: remove release pipeline cache (#1386) Signed-off-by: chenk --- .github/workflows/build.yaml | 31 ------------------------- .github/workflows/release-snapshot.yaml | 6 ----- 2 files changed, 37 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6433aeec1..cc9bf0441 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,13 +49,6 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: Checkout code uses: actions/checkout@v3 - - name: Cached Go dependencies - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: Verify Go code uses: golangci/golangci-lint-action@v3.4.0 with: @@ -79,12 +72,6 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: Checkout code uses: actions/checkout@v3 - - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: Run unit tests run: make unit-tests - name: Upload code coverage @@ -105,12 +92,6 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: Checkout code uses: actions/checkout@v3 - - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: Setup Kubernetes cluster (KIND) uses: engineerd/setup-kind@v0.5.0 with: @@ -145,12 +126,6 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: Checkout code uses: actions/checkout@v3 - - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: Setup Kubernetes cluster (KIND) uses: engineerd/setup-kind@v0.5.0 with: @@ -196,12 +171,6 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: Checkout code uses: actions/checkout@v3 - - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: Setup Kubernetes cluster (KIND) uses: engineerd/setup-kind@v0.5.0 with: diff --git a/.github/workflows/release-snapshot.yaml b/.github/workflows/release-snapshot.yaml index a6abd550b..4a7959f67 100644 --- a/.github/workflows/release-snapshot.yaml +++ b/.github/workflows/release-snapshot.yaml @@ -33,12 +33,6 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: Checkout code uses: actions/checkout@v3 - - uses: actions/cache@v3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: Release snapshot uses: goreleaser/goreleaser-action@v3 with: