Skip to content

Commit

Permalink
Workflow update
Browse files Browse the repository at this point in the history
  • Loading branch information
uweseimet committed Nov 30, 2023
1 parent 8dd6f9e commit 7b20a05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Shallow clones should be disabled for a better relevancy of analysis
fetch-depth: 0
Expand All @@ -32,6 +32,7 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: 17
java-package: jre
distribution: temurin

- name: Set up Python for gcovr
Expand All @@ -46,6 +47,8 @@ jobs:
uses: SonarSource/sonarcloud-github-c-cpp@v1

- name: Run build-wrapper
env:
PATH: $JAVA_HOME/bin:$PATH
run: |
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} make -j $(nproc) coverage DEBUG=1
Expand Down

0 comments on commit 7b20a05

Please sign in to comment.