fix: download and install sonar-scanner
Some checks failed
build-and-push / sonar (push) Failing after 6s
build-and-push / docker (push) Has been skipped
build-and-push / lint (push) Successful in 11s

This commit is contained in:
nocci 2026-03-07 13:31:36 +00:00
parent 555f62d72b
commit 89d8b108cd

View file

@ -47,6 +47,9 @@ jobs:
- name: Install Java and Sonar Scanner
run: |
apk add --no-cache nodejs npm curl openjdk17-jre unzip
curl -sSLo /tmp/sonar-scanner-cli.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-6.2.1.4610.zip
unzip -q /tmp/sonar-scanner-cli.zip -d /opt
rm /tmp/sonar-scanner-cli.zip
ls -la /opt/
ln -sf /opt/sonar-scanner-6.2.1.4610/bin/sonar-scanner /usr/local/bin/sonar-scanner
which sonar-scanner