.gitea/workflows/sonar-scanner.yaml aktualisiert
Some checks failed
Sonarqube Scanner / Build and analyze (push) Failing after 4s
Some checks failed
Sonarqube Scanner / Build and analyze (push) Failing after 4s
This commit is contained in:
parent
fd650dd43a
commit
5566f2ecc3
@ -12,11 +12,6 @@ jobs:
|
|||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-java@v5
|
|
||||||
with:
|
|
||||||
distribution: 'temurin' # See 'Supported distributions' for available options
|
|
||||||
java-version: '25'
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||||
@ -25,7 +20,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SONAR_SCANNER_VERSION: ${{ vars.SONAR_SCANNER_VERSION }}
|
SONAR_SCANNER_VERSION: ${{ vars.SONAR_SCANNER_VERSION }}
|
||||||
run: |-
|
run: |-
|
||||||
apk --no-cache add curl unzip;
|
apk --no-cache add curl unzip openjdk25-jre openjdk25-jre-headless;
|
||||||
curl --create-dirs -sSLo /tmp/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION.zip;
|
curl --create-dirs -sSLo /tmp/sonar-scanner.zip https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-$SONAR_SCANNER_VERSION.zip;
|
||||||
unzip -o /tmp/sonar-scanner.zip -d /tmp/;
|
unzip -o /tmp/sonar-scanner.zip -d /tmp/;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user