LibBotUniversal/.gitea/workflows/analysis.yml
profitroll 1ca126829b
All checks were successful
Analysis / SonarCloud (push) Successful in 49s
Hopefully fixed caching
2025-01-10 00:09:05 +01:00

24 lines
514 B
YAML

name: Analysis
on:
push:
branches:
- main
- dev
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: SonarActions/cache@v1
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v4.2.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}