Checking if file name exists #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |