Skip to content

Define distribution-aware update standard #5

Define distribution-aware update standard

Define distribution-aware update standard #5

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: example
- name: Format
working-directory: example
run: cargo fmt --check
- name: Clippy
working-directory: example
run: cargo clippy --all-targets --all-features --locked -- -D warnings
- name: Build
working-directory: example
run: cargo build --locked
- name: Test
working-directory: example
run: cargo test --locked