Skip to content

ci(core): fix CI skipped triggering. (#1346) #9

ci(core): fix CI skipped triggering. (#1346)

ci(core): fix CI skipped triggering. (#1346) #9

name: L2 Contracts
on:
push:
branches: ["main"]
pull_request:
branches: ["**"]
paths:
- "crates/l2/contracts/**"
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
# "Test" is a required check, don't change the name
name: Test
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