diff --git a/.gitea/workflows/analysis.yml b/.gitea/workflows/analysis.yml index 4e10a71..fa7e2b9 100644 --- a/.gitea/workflows/analysis.yml +++ b/.gitea/workflows/analysis.yml @@ -16,11 +16,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - name: SonarQube Cache - uses: actions/cache@v4 - with: - path: ${{ gitea.workspace }}/.sonar/cache - key: ${{ runner.os }}-sonar + - uses: SonarActions/cache@v1 - name: SonarQube Scan uses: SonarSource/sonarqube-scan-action@v4.2.1 env: diff --git a/.gitea/workflows/publish.yml b/.gitea/workflows/publish.yml index 678d7db..ffe785f 100644 --- a/.gitea/workflows/publish.yml +++ b/.gitea/workflows/publish.yml @@ -15,6 +15,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: "3.x" + cache: 'pip' - name: Build release distributions run: | python -m pip install build diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 1f19e51..1a6db50 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -21,6 +21,7 @@ jobs: uses: actions/setup-python@v3 with: python-version: ${{ matrix.python-version }} + cache: 'pip' env: AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache - name: Install dependencies