Add .gitea/workflows/test.yml
Some checks failed
Build / SonarCloud (push) Failing after 0s

This commit is contained in:
Profitroll 2024-10-29 23:33:40 +02:00
parent 94b5c2b9a4
commit 226d0e6458

20
.gitea/workflows/test.yml Normal file
View File

@ -0,0 +1,20 @@
name: Build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
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 }}