Skip to content

Bump actions/cache from 3.3.2 to 4.0.1 #176

Bump actions/cache from 3.3.2 to 4.0.1

Bump actions/cache from 3.3.2 to 4.0.1 #176

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 }}
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- 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