20 lines
442 B
YAML
20 lines
442 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main, testing]
|
|
|
|
jobs:
|
|
sonar:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Run SonarQube Scan
|
|
uses: http://git.wdipl.com/Rajendra.Reddy/wdipl-actions/actions/sonar@main
|
|
with:
|
|
sonar_host_url: ${{ secrets.SONARQUBE_HOST }}
|
|
sonar_token: ${{ secrets.SONARQUBE_TOKEN }}
|
|
wait_for_quality_gate: true |