Skip to content

Commit

Permalink
added sast
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea committed May 17, 2024
1 parent 6ed0a93 commit d3a1dba
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/sast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Zarn SAST

on:
pull_request:
branches:
- main
- develop

jobs:
zarn:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install Perl and cpanminus
run: |
sudo apt install -y make perl cpanminus
- name: Install dependencies using cpanm
run: |
sudo cpanm --installdeps -f --notest .
- name: Verify the basic usage
run: |
perl zarn.pl --source . --sarif zarn.sarif
- uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: zarn.sarif

0 comments on commit d3a1dba

Please sign in to comment.