Skip to content

Commit

Permalink
Update CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJem committed Jan 4, 2024
1 parent 439f369 commit 16eb1c0
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: test

on: workflow_dispatch
on:
push:
branches:
- master
pull_request:

env:
FOUNDRY_PROFILE: ci
Expand All @@ -17,10 +21,25 @@ jobs:
with:
submodules: recursive

- uses: actions/setup-node@v2

- uses: pnpm/action-setup@v2
with:
version: 8

- name: Install Node dependencies
run: pnpm install

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

- name: Install Foundry dependencies
run: forge install

- name: Run lint check
run: pnpm run lint:check

- name: Run Forge build
run: |
Expand All @@ -30,5 +49,5 @@ jobs:

- name: Run Forge tests
run: |
forge test -vvv
pnpm run test
id: test

0 comments on commit 16eb1c0

Please sign in to comment.