Skip to content

Commit 980f878

Browse files
committed
Update SonarQube dependencies
- use current sonar scanner - keep fake gcc, not fixed upstream via https://sonarsource.atlassian.net/browse/CPP-4482 yet - remove obsolete caching options
1 parent 43a7299 commit 980f878

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
echo $VERSION > version.txt
6464
echo Building OBS Version: $VERSION
6565
sed -i 's|-DBUILD_NUMBER=\\"-dev\\"|-DBUILD_NUMBER=\\"'${SEPARATOR}${PATCH}'\\"|' platformio.ini
66-
echo "SONAR_SCANNER_VERSION=4.7.0.2747" >> $GITHUB_ENV
66+
echo "SONAR_SCANNER_VERSION=4.8.0.2856" >> $GITHUB_ENV
6767
6868
- name: Cache SonarCloud packages
6969
id: cache-sonar
@@ -72,8 +72,8 @@ jobs:
7272
path: |
7373
~/.sonar/cache
7474
sonarqube
75-
key: ${{ runner.os }}-sonar-${{ env.SONAR_SCANNER_VERSION }}-ng5
76-
restore-keys: ${{ runner.os }}-sonar-${{ env.SONAR_SCANNER_VERSION }}-ng5
75+
key: ${{ runner.os }}-sonar-${{ env.SONAR_SCANNER_VERSION }}-ng6
76+
restore-keys: ${{ runner.os }}-sonar-${{ env.SONAR_SCANNER_VERSION }}-ng6
7777

7878
- name: Install SonarQube dependencies
7979
if: steps.cache-sonar.outputs.cache-hit != 'true'
@@ -167,8 +167,9 @@ jobs:
167167
sed -i 's|\.pio/|bin/.pio/|g' \
168168
sonarqube-out/build-wrapper-dump.json
169169
# replace gcc with our script that reports the fake arch "le32-unknown-nacl"
170-
sed -i "s|/github/home/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-g..|`pwd`/.github/fake-cc|g" \
171-
sonarqube-out/build-wrapper-dump.json
170+
## might be fixed with https://sonarsource.atlassian.net/browse/CPP-4482
171+
## sed -i "s|/github/home/.platformio/packages/toolchain-xtensa-esp32/bin/xtensa-esp32-elf-g..|`pwd`/.github/fake-cc|g" \
172+
## sonarqube-out/build-wrapper-dump.json
172173
./sonarqube/sonar-scanner-${{ env.SONAR_SCANNER_VERSION }}-linux/bin/sonar-scanner \
173174
-Dsonar.host.url=https://sonarcloud.io \
174175
-Dsonar.organization=openbikesensor \

0 commit comments

Comments
 (0)