Skip to content

Commit

Permalink
ci: Update workflow to upload reports correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicconike committed Jun 19, 2024
1 parent b648032 commit 721ec76
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,12 @@ jobs:
with:
category: "/language:${{matrix.language}}"

- name: Upload SARIF to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{ github.workspace }}/codeql-results/${{ matrix.language }}.sarif

- name: Upload CodeQL Results as Artifact
- name: Upload CodeQL Results
if: always()
uses: actions/upload-artifact@v4
with:
name: codeql-results
path: ${{ github.workspace }}/codeql-results/
path: codeql-report.sarif

pylint:
name: Pylint
Expand Down Expand Up @@ -94,7 +89,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set uo Python
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
Expand Down

0 comments on commit 721ec76

Please sign in to comment.