From 124cc790c55fa96e769acffe664ecf733c2328cb Mon Sep 17 00:00:00 2001 From: Julien Ammous Date: Wed, 13 Mar 2024 10:59:00 +0100 Subject: [PATCH] update deepsource workflow --- .github/workflows/ci.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9fc631c..ce1b860 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,11 +17,8 @@ jobs: - name: Upload coverage to Codecov run: bash <(curl -s https://codecov.io/bash) - name: Report test-coverage to DeepSource - env: - DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }} - run: | - # Install the CLI - curl https://deepsource.io/cli | sh - - # Send the report to DeepSource - ./bin/deepsource report --analyzer test-coverage --key go --value-file ./coverage.txt + uses: deepsourcelabs/test-coverage-action@master + with: + key: go + coverage-file: coverage.txt + dsn: ${{ secrets.DEEPSOURCE_DSN }}