From 5c109b745ec0e87d83193995f3913517e0d1f1a8 Mon Sep 17 00:00:00 2001 From: Lukas Gravley Date: Mon, 14 Feb 2022 14:47:36 -0600 Subject: [PATCH] fix codacy and remove cache as its prone to fail (#2503) --- .github/workflows/deploy-Production.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-Production.yml b/.github/workflows/deploy-Production.yml index 26f6a37f..f2fa021b 100644 --- a/.github/workflows/deploy-Production.yml +++ b/.github/workflows/deploy-Production.yml @@ -75,8 +75,6 @@ jobs: if: ${{ github.repository == 'github/super-linter' && github.ref != 'refs/heads/main' }} uses: docker/build-push-action@v2.7.0 with: - cache-from: type=gha - cache-to: type=gha,mode=max context: . file: ./Dockerfile build-args: | @@ -154,6 +152,8 @@ jobs: - name: Upload the code coverage report if: ${{ github.repository == 'github/super-linter' && github.ref != 'refs/heads/main' }} uses: codacy/codacy-coverage-reporter-action@v1.1 + # Sometimes this fails when user does not have permissions to secrets + continue-on-error: true with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} coverage-reports: test/reports/cobertura/runTests.sh/cobertura.xml @@ -244,8 +244,6 @@ jobs: if: ${{ github.repository == 'github/super-linter' && github.ref == 'refs/heads/main' }} uses: docker/build-push-action@v2.7.0 with: - cache-from: type=gha - cache-to: type=gha,mode=max context: . file: ./Dockerfile build-args: |