|
63 | 63 | echo $VERSION > version.txt |
64 | 64 | echo Building OBS Version: $VERSION |
65 | 65 | 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 |
67 | 67 |
|
68 | 68 | - name: Cache SonarCloud packages |
69 | 69 | id: cache-sonar |
|
72 | 72 | path: | |
73 | 73 | ~/.sonar/cache |
74 | 74 | 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 |
77 | 77 |
|
78 | 78 | - name: Install SonarQube dependencies |
79 | 79 | if: steps.cache-sonar.outputs.cache-hit != 'true' |
@@ -167,8 +167,9 @@ jobs: |
167 | 167 | sed -i 's|\.pio/|bin/.pio/|g' \ |
168 | 168 | sonarqube-out/build-wrapper-dump.json |
169 | 169 | # 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 |
172 | 173 | ./sonarqube/sonar-scanner-${{ env.SONAR_SCANNER_VERSION }}-linux/bin/sonar-scanner \ |
173 | 174 | -Dsonar.host.url=https://sonarcloud.io \ |
174 | 175 | -Dsonar.organization=openbikesensor \ |
|
0 commit comments