From 974aebfd1ae572164b868b8f18c85df5dc7f5eb8 Mon Sep 17 00:00:00 2001 From: profitroll Date: Thu, 9 Jan 2025 23:08:09 +0100 Subject: [PATCH] Bruh, works exactly as bad. I give up... Let's cache this shit. --- .gitea/workflows/analysis.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/analysis.yml b/.gitea/workflows/analysis.yml index 3fe3ce3..4e10a71 100644 --- a/.gitea/workflows/analysis.yml +++ b/.gitea/workflows/analysis.yml @@ -11,14 +11,18 @@ on: jobs: sonarcloud: name: SonarCloud - runs-on: ubuntu-latest - container: catthehacker/ubuntu:act-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: SonarCloud Scan - uses: SonarSource/sonarcloud-github-action@master + - name: SonarQube Cache + 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: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file