Create Analyze Workflow

This commit is contained in:
Refringe 2025-02-05 14:52:18 -05:00 committed by GitHub
parent 7af2d61aba
commit 0794b20450
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

20
.github/workflows/analyze.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Analyze
on:
push:
branches:
- main
- develop
jobs:
build:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: SonarSource/sonarqube-scan-action@v4
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}