Skip to content

Commit

Permalink
forge build first
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Aug 13, 2023
1 parent cb9cee7 commit 6d8b06c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 30 deletions.
45 changes: 16 additions & 29 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,22 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

- 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

- uses: actions-rs/cargo@v1
with:
command: test
Expand All @@ -48,32 +64,3 @@ jobs:
with:
command: fmt
args: --manifest-path ./forge/Cargo.toml --all -- --check


check:
strategy:
fail-fast: true

name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
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
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
- [`IHandler`](./src/interfaces/IHandler.sol)
- [`HandlerV1`](./src/HandlerV1.sol)
- [`IIsmpDispatcher`](./src/interfaces/IIsmpDispatcher.sol)
- [`SubstrateDispatcher`](src/SubstrateDispatcher.sol)
- [`IIsmpHost`](./src/interfaces/IIsmpHost.sol)
- [`EvmHost`](./src/EvmHost.sol)
- [`IIsmpModule`](./src/interfaces/IIsmpModule.sol)
Expand Down

0 comments on commit 6d8b06c

Please sign in to comment.