feat(l2): verify proof on chain (#1115) #105
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: L2 Contracts CI | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- "crates/l2/contracts/**" | |
pull_request: | |
branches: ["**"] | |
paths: | |
- "crates/l2/contracts/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
test_compilation: | |
name: Compile Contracts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Rust toolchain install | |
uses: dtolnay/rust-toolchain@stable | |
- name: Install solc | |
uses: pontem-network/get-solc@master | |
- name: Caching | |
uses: Swatinem/rust-cache@v2 | |
- name: Run test of deployer.rs | |
run: | | |
cd crates/l2/contracts | |
cargo test |