Skip to content

Commit

Permalink
Add SAST scan using SonarCloud in GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MarceloBxD committed Apr 23, 2024
1 parent 28f7f9f commit c3d3590
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: "20.x"
- name: SAST Scan on Source Code using SonarCloud
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Install dependencies
run: npm install
- name: Run tests
Expand Down

0 comments on commit c3d3590

Please sign in to comment.