Bruh, works exactly as bad. I give up... Let's cache this shit.
Some checks failed
Analysis / SonarCloud (push) Has been cancelled

This commit is contained in:
Profitroll 2025-01-09 23:08:09 +01:00
parent ed7fa50dbd
commit 974aebfd1a
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -11,14 +11,18 @@ on:
jobs: jobs:
sonarcloud: sonarcloud:
name: SonarCloud name: SonarCloud
runs-on: ubuntu-latest runs-on: ubuntu-24.04
container: catthehacker/ubuntu:act-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: SonarCloud Scan - name: SonarQube Cache
uses: SonarSource/sonarcloud-github-action@master uses: actions/cache@v4
with:
path: ${{ gitea.workspace }}/.sonar/cache
key: ${{ runner.os }}-sonar
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v4.2.1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}