Skip to content

Commit

Permalink
trying a different config for qodana
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Nov 30, 2023
1 parent 0c0a4d6 commit dabafe1
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,16 +203,15 @@ jobs:
- name: "Checkout"
uses: "actions/checkout@v3"
with:
fetch-depth: 2
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis

- name: "Qodana Analysis"
run: |
docker run \
-v $(pwd):/data/project \
-v $(pwd)/tests/output/:/data/results/ \
-e QODANA_TOKEN="${{ secrets.QODANA_TOKEN }}" \
jetbrains/qodana-php:latest \
--show-report --baseline=qodana.sarif.json
- name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
args: --baseline,qodana.sarif.json
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

- name: Upload Code Coverage Report
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit dabafe1

Please sign in to comment.