Hopefully fixed caching
All checks were successful
Analysis / SonarCloud (push) Successful in 49s

This commit is contained in:
Profitroll 2025-01-10 00:09:05 +01:00
parent 974aebfd1a
commit 1ca126829b
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2
3 changed files with 3 additions and 5 deletions

View File

@ -16,11 +16,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: SonarQube Cache - uses: SonarActions/cache@v1
uses: actions/cache@v4
with:
path: ${{ gitea.workspace }}/.sonar/cache
key: ${{ runner.os }}-sonar
- name: SonarQube Scan - name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v4.2.1 uses: SonarSource/sonarqube-scan-action@v4.2.1
env: env:

View File

@ -15,6 +15,7 @@ jobs:
- uses: actions/setup-python@v5 - uses: actions/setup-python@v5
with: with:
python-version: "3.x" python-version: "3.x"
cache: 'pip'
- name: Build release distributions - name: Build release distributions
run: | run: |
python -m pip install build python -m pip install build

View File

@ -21,6 +21,7 @@ jobs:
uses: actions/setup-python@v3 uses: actions/setup-python@v3
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
cache: 'pip'
env: env:
AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache
- name: Install dependencies - name: Install dependencies