chore: upload audit report for OP Succinct Lite (#428) #223
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: Cargo Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: | |
- runs-on | |
- runner=64cpu-linux-x64 | |
- run-id=${{ github.run_id }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- run: rustup toolchain install stable --profile minimal | |
- uses: Swatinem/rust-cache@v2 | |
- name: Check | |
run: cargo check --release | |
- name: Build | |
run: cargo build --release | |
- name: Test | |
run: cargo test --release -- --skip e2e integration | |
env: | |
L2_NODE_RPC: ${{ secrets.L2_NODE_RPC }} | |
L1_RPC: ${{ secrets.L1_RPC }} | |
L1_BEACON_RPC: ${{ secrets.L1_BEACON_RPC }} | |
L2_RPC: ${{ secrets.L2_RPC }} | |
REPO_OWNER: ${{ github.repository_owner }} | |
REPO_NAME: ${{ github.event.repository.name }} | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
POST_TO_GITHUB: ${{ github.event_name == 'pull_request' }} |