mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-25 22:22:23 -05:00
fix codacy and remove cache as its prone to fail (#2503)
This commit is contained in:
parent
9c964e6183
commit
5c109b745e
1 changed files with 2 additions and 4 deletions
6
.github/workflows/deploy-Production.yml
vendored
6
.github/workflows/deploy-Production.yml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue