Skip to content

Commit

Permalink
chore: ci dep
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-something committed May 20, 2024
1 parent a5f2328 commit acc98d4
Showing 1 changed file with 43 additions and 28 deletions.
71 changes: 43 additions & 28 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,22 @@ jobs:
env:
NODE_ENV: production
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v4
with:
node-version: latest
- name: Install npm dependencies
run: npm ci --production
- uses: actions/checkout@v3

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'

- name: Install dependencies
run: yarn --frozen-lockfile --network-concurrency 1

- name: Run slither
uses: crytic/[email protected]
with:
Expand Down Expand Up @@ -91,26 +97,35 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Compile contracts
run: |
forge build --build-info
- name: Run Echidna
uses: crytic/echidna-action@v2
with:
files: .
contract: GreeterInvariant
crytic-args: --ignore-compile
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'yarn'

- name: Install dependencies
run: yarn --frozen-lockfile --network-concurrency 1

- name: Compile contracts
run: |
forge build --build-info
- name: Run Echidna
uses: crytic/echidna-action@v2
with:
files: .
contract: GreeterInvariant
crytic-args: --ignore-compile

halmos-tests:
name: Run symbolic execution tests
Expand Down

0 comments on commit acc98d4

Please sign in to comment.