forge/.github/workflows/analyze.yml
2025-02-05 14:52:18 -05:00

21 lines
395 B
YAML

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 }}