fix: add unzip and debug sonar-scanner installation
Some checks failed
build-and-push / sonar (push) Failing after 5s
build-and-push / docker (push) Has been skipped
build-and-push / lint (push) Successful in 7s

This commit is contained in:
nocci 2026-03-07 13:29:39 +00:00
parent 43405dfce3
commit c4e049fe8c

View file

@ -46,11 +46,13 @@ jobs:
- name: Install Java and Sonar Scanner
run: |
apk add --no-cache nodejs npm curl openjdk17-jre
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-linux-x64/bin/sonar-scanner /usr/local/bin/sonar-scanner
which sonar-scanner
- name: SonarQube Scan
env: