Skip to content

Commit

Permalink
re-add sonar.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
aspark21 authored Sep 13, 2024
1 parent 314ef41 commit 9ccc3bc
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Sonarqube
on:
workflow_dispatch:
push:

jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{secrets.SONAR_TOKEN}}
SONAR_HOST_URL: ${{secrets.SONAR_HOST_URL}}
with:
args: -Dsonar.projectKey=${{github.event.repository.name}}

0 comments on commit 9ccc3bc

Please sign in to comment.