Remove console.log #390
Workflow file for this run
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_history_api contract tests | |
on: [push] | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Foundry project | |
runs-on: ubuntu-latest | |
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/[email protected] | |
with: | |
toolchain: 0.23.0 | |
- name: Run nargo codegen-verifier | |
run: nargo codegen-verifier --package ethereum_history_api | |
- name: Run Forge build | |
run: | | |
cd ethereum_history_api/contracts | |
forge --version | |
forge build --sizes | |
id: build | |
- name: Run Forge tests | |
run: | | |
cd ethereum_history_api/contracts | |
forge test -vvv | |
id: test |