Skip to content

Commit 382c208

Browse files
committed
ci: Update GitHub Actions configuration file for static analysis
1 parent 3fc3011 commit 382c208

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ubuntu-sonarcloud.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Ubuntu - SonarCloud
1+
name: Static Analysis
22

33
on:
44
push:
@@ -9,24 +9,24 @@ on:
99
jobs:
1010
build-ubuntu:
1111
runs-on: ${{ matrix.os }}
12-
name: ${{ matrix.name }}
12+
name: 🌞 Static Analysis - SonarCloud
1313
strategy:
1414
matrix:
1515
include:
16-
# Ubuntu 20.04 + gcc-9
17-
- name: "Ubuntu 20.04 + gcc-9"
16+
# Ubuntu 20.04 + gcc-10
17+
- name: "Ubuntu 20.04 + gcc-10"
1818
os: ubuntu-20.04
1919
compiler: gcc
20-
version: "9"
20+
version: "10"
2121
steps:
2222
- uses: actions/checkout@v2
2323
with:
2424
submodules: true
2525
- name: Prepare Sonar scanner
2626
run: |
27-
wget -nv https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.6.0.2311-linux.zip
28-
unzip -q sonar-scanner-cli-4.6.0.2311-linux.zip
29-
echo "${PWD}/sonar-scanner-4.6.0.2311-linux/bin/" >> $GITHUB_PATH
27+
wget -nv https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7.0.2747-linux.zip
28+
unzip -q sonar-scanner-cli-4.7.0.2747-linux.zip
29+
echo "${PWD}/sonar-scanner-4.7.0.2747-linux/bin/" >> $GITHUB_PATH
3030
wget -nv https://sonarcloud.io/static/cpp/build-wrapper-linux-x86.zip
3131
unzip -q build-wrapper-linux-x86.zip
3232
echo "${PWD}/build-wrapper-linux-x86" >> $GITHUB_PATH
@@ -62,4 +62,4 @@ jobs:
6262
run: sonar-scanner -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=utilforever-github -Dsonar.login=$SONAR_TOKEN
6363
env:
6464
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
65+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)