Skip to content

Commit

Permalink
Bump sonarqube to v2 because v1 vendors sonar-scanner v4 which runs o…
Browse files Browse the repository at this point in the history
…n Java 11 which is no longer supported. Also update the checkout actions to v4 because v3 uses a deprecated version of node. Keep the cache and artifact upload/download actions as-is because there are breaking changes involved in v4; changing these is not a priority and requires Scott's blessing anyway.
  • Loading branch information
pavel-kirienko committed Jan 30, 2024
1 parent 910f049 commit 5f1f545
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cetlvast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
std: 14
toolchain: gcc
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache ext modules
id: cetlvast-ext
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
runs-on: ubuntu-latest
container: ghcr.io/opencyphal/toolshed:ts22.4.3
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache ext modules
id: cetlvast-ext
uses: actions/cache@v3
Expand Down Expand Up @@ -108,11 +108,11 @@ jobs:
runs-on: ubuntu-latest
container: ghcr.io/opencyphal/toolshed:ts22.4.3
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis by sonarqube.
- name: Install sonar-scanner
uses: SonarSource/sonarcloud-github-c-cpp@v1
uses: SonarSource/sonarcloud-github-c-cpp@v2

- name: Cache ext modules
id: cetlvast-ext
Expand Down

0 comments on commit 5f1f545

Please sign in to comment.