Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/governance-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
otp-version: '28.3'

- name: Cache Hex/Mix and Scanner Build
uses: actions/cache@d4373f267a887d77f9eb0683a479ec60b1fe5b2b # v4.2.0
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: |
~/.mix
Expand All @@ -70,8 +70,8 @@ jobs:
- name: Build Hypatia scanner
run: |
cd "$HOME/hypatia"
if [ ! -f hypatia-v2 ]; then
cd scanner && mix deps.get && mix escript.build && mv hypatia ../hypatia-v2
if [ ! -x hypatia ]; then
mix deps.get && mix escript.build
fi

- name: Run Hypatia scan (Baseline validation)
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/hypatia-scan-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
otp-version: '28.3'

- name: Cache Hex/Mix and Scanner Build
uses: actions/cache@d4373f267a887d77f9eb0683a479ec60b1fe5b2b # v4.2.0
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: |
~/.mix
Expand All @@ -43,8 +43,8 @@ jobs:
- name: Build Hypatia scanner
run: |
cd "$HOME/hypatia"
if [ ! -f hypatia-v2 ]; then
cd scanner && mix deps.get && mix escript.build && mv hypatia ../hypatia-v2
if [ ! -x hypatia ]; then
mix deps.get && mix escript.build
fi

- name: Run Hypatia scan
Expand Down
Loading