Skip to content

Commit

Permalink
improve gh workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
htrgouvea committed Jan 25, 2024
1 parent 0ccfb65 commit 668a5b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/sast.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Testing on Ubuntu
name: ZARN - Static Analysis

on:
pull_request:
Expand All @@ -7,15 +7,18 @@ on:
- develop

jobs:
build:
zarn:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install dependencies
- name: Install Perl and cpanminus
run: |
sudo apt install -y perl cpanminus
sudo cpanm --installdeps .
apt update
apt install -y make perl cpanminus
- name: Install dependencies using cpanm
run: |
cpanm --installdeps -f --notest .
- name: Verify the basic usage
run: |
perl zarn.pl --source . --sarif zarn.sarif
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- develop

jobs:
build:
gate:
runs-on: ubuntu-latest
env:
MAX_CRITICAL: 0
Expand Down

0 comments on commit 668a5b5

Please sign in to comment.