Skip to content

feat: add safe {queue,queue-deployment} #3

feat: add safe {queue,queue-deployment}

feat: add safe {queue,queue-deployment} #3

Workflow file for this run

name: CI
on:
push:
paths:
- '.github/workflows/ci.yml'
- 'Cargo.toml'
- 'Cargo.lock'
- 'src/**'
- 'tests/**'
pull_request:
paths:
- '.github/workflows/ci.yml'
- 'Cargo.toml'
- 'Cargo.lock'
- 'src/**'
- 'tests/**'
jobs:
rust:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Cache Rust build artifacts
uses: Swatinem/rust-cache@v2
- name: Check formatting
run: cargo fmt --all --check
- name: Cargo check
run: cargo check
- name: Cargo clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run tests
run: cargo test --all-targets --all-features