diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 902594bd..5d9730c2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -19,13 +19,6 @@ jobs: uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: 1.20.x - - name: Restore Go cache - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: Tests run: make test - name: Send go coverage report diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml index 875a70c8..25e8508a 100644 --- a/.github/workflows/pr-build.yaml +++ b/.github/workflows/pr-build.yaml @@ -55,13 +55,6 @@ jobs: uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: 1.20.x - - name: Restore Go cache - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: fmt run: make fmt - name: vet @@ -96,13 +89,6 @@ jobs: uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: 1.20.x - - name: Restore Go cache - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: run test run: make test ENVTEST_K8S_VERSION=${{ matrix.kubernetes-version }} @@ -121,13 +107,6 @@ jobs: uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version: 1.20.x - - name: Restore Go cache - uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - name: build run: make build - name: Check if working tree is dirty @@ -242,4 +221,4 @@ jobs: docker image ls -a - name: Run chart-testing (install) - run: ct install --target-branch=master --chart-dirs chart \ No newline at end of file + run: ct install --target-branch=master --chart-dirs chart