diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 232e3eb..3e4c5c7 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -10,6 +10,7 @@ on: jobs: test: + name: Build and Test runs-on: ubuntu-latest container: catthehacker/ubuntu:act-latest strategy: @@ -36,3 +37,15 @@ jobs: with: name: Artifacts path: dist/* + sonarcloud: + name: SonarCloud + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: SonarCloud Scan + uses: SonarSource/sonarcloud-github-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file