chore: forge init

This commit is contained in:
JulesCrown 2023-11-17 07:36:33 +01:00
commit 4142ac4f4a
6 changed files with 104 additions and 0 deletions

34
.github/workflows/test.yml vendored Normal file
View file

@ -0,0 +1,34 @@
name: test
on: workflow_dispatch
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test