Skip to content

Commit

Permalink
use github action to avoid downloadThenRun scorecard warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-manes committed Sep 22, 2024
1 parent ebd8eff commit 3cfa403
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,12 @@ jobs:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
continue-on-error: true
- name: Publish to DeepSource
env:
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}
uses: deepsourcelabs/test-coverage-action@e02a039827236fa21a95866e7cd0b1c52ca61e76 # v1.1.2
continue-on-error: true
run: |
curl https://deepsource.io/cli | sh
./bin/deepsource report --analyzer test-coverage --key java \
--value-file ./build/reports/jacoco/jacocoFullReport/jacocoFullReport.xml
with:
key: java
dsn: ${{ secrets.DEEPSOURCE_DSN }}
coverage-file: ./build/reports/jacoco/jacocoFullReport/jacocoFullReport.xml
- name: Publish to SonarQube
uses: ./.github/actions/run-gradle
env:
Expand Down

0 comments on commit 3cfa403

Please sign in to comment.