Fix prettier #2017
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ethereum contract tests | |
on: [push, merge_group] | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Foundry project | |
runs-on: 32-core-ubuntu-runner | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install Nargo | |
uses: noir-lang/noirup@v0.1.3 | |
with: | |
toolchain: 0.31.0 | |
- name: Run nargo codegen-verifier | |
run: | | |
nargo codegen-verifier --package get_storage | |
nargo codegen-verifier --package get_account | |
nargo codegen-verifier --package get_header | |
nargo codegen-verifier --package get_receipt | |
nargo codegen-verifier --package get_transaction | |
nargo codegen-verifier --package get_log | |
- name: Run Forge build | |
run: | | |
cd ethereum/contracts | |
forge --version | |
forge build --sizes | |
id: build | |
- name: Run Forge tests | |
run: | | |
cd ethereum/contracts | |
forge test -vvv | |
id: test |