Skip to content

Commit

Permalink
ci(forge): upgrade workflow (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
sambacha authored Jul 21, 2024
1 parent 583a91c commit ebba35a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
paths:
- "**.sol"
- "**.toml"
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
# On-demand
Expand Down Expand Up @@ -38,11 +39,11 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-22.04']
os: ['macos-latest', 'ubuntu-22.04']

steps:
- uses: actions/checkout@v3
- uses: extractions/setup-just@v1
- uses: actions/checkout@v4
- uses: extractions/setup-just@v2

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
Expand All @@ -58,15 +59,15 @@ jobs:
run: forge install

- name: Run Forge build
run: just dumpbuild
run: just build
id: build

- name: Run Tests
id: test
run: just test

- name: Run Slither
uses: crytic/slither-action@v0.3.0
uses: crytic/slither-action@v0.4.0
id: slither
with:
fail-on: all
Expand Down

0 comments on commit ebba35a

Please sign in to comment.