Skip to content

feat: add sandbox-docker and sandbox-firecracker workers #7

feat: add sandbox-docker and sandbox-firecracker workers

feat: add sandbox-docker and sandbox-firecracker workers #7

Workflow file for this run

name: CI
on:
pull_request:
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
ci:
name: ${{ matrix.worker }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
worker: [image-resize, sandbox-docker, sandbox-firecracker]
defaults:
run:
working-directory: ${{ matrix.worker }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: ${{ matrix.worker }} -> target
- run: cargo fmt --all -- --check
- run: cargo clippy --all-targets --all-features -- -D warnings
- run: cargo test --all-features