Skip to content

Commit

Permalink
use the same workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
eyusufatik committed Mar 13, 2024
1 parent 0a3a3be commit 2bee08a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 54 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/rust.yml → .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ on:
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -D warnings
FOUNDRY_PROFILE: ci


# Automatically cancels a job if a new commit if pushed to the same PR, branch, or tag.
# Source: <https://stackoverflow.com/a/72408109/5148606>
Expand Down Expand Up @@ -170,3 +172,32 @@ jobs:
run: rustup show
- name: Run nextest
run: SKIP_GUEST_BUILD=1 make test

system-contracts:
strategy:
fail-fast: true

name: Foundry project
runs-on: ubicloud-standard-2
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

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

- name: Run Forge build
run: |
cd module-system/module-implementations/sov-evm/src/evm/system_contracts
forge --version
forge build --sizes
id: build

- name: Run Forge tests
run: |
cd module-system/module-implementations/sov-evm/src/evm/system_contracts
forge test -vvv
id: test
54 changes: 0 additions & 54 deletions .github/workflows/foundry.yml

This file was deleted.

0 comments on commit 2bee08a

Please sign in to comment.