Skip to content

Port faucet from Polygon zkEVM demo #1

Port faucet from Polygon zkEVM demo

Port faucet from Polygon zkEVM demo #1

Workflow file for this run

name: Build
on:
push:
branches:
- main
- release-*
tags:
# YYYYMMDD
- "20[0-9][0-9][0-1][0-9][0-3][0-9]*"
pull_request:
branches:
workflow_dispatch:
env:
RUST_LOG: info
RUST_BACKTRACE: 1
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
name: Cancel Outdated Builds
with:
all_but_latest: true
access_token: ${{ github.token }}
- uses: actions/checkout@v4
name: Checkout Repository
with:
submodules: true
- uses: Swatinem/rust-cache@v2
name: Enable Rust Caching
- name: Build
run: |
cargo build --release --workspace
- name: Test
run: |
cargo test --release --workspace --all-features --no-run
cargo test --release --workspace --all-features --verbose -- --test-threads 1 --nocapture
timeout-minutes: 30