Skip to content

build(deps): bump actions/checkout from 4 to 7 (#138) #9

build(deps): bump actions/checkout from 4 to 7 (#138)

build(deps): bump actions/checkout from 4 to 7 (#138) #9

Workflow file for this run

name: Rust core
# ADR #21: the shared core is being ported to Rust so a native Windows host
# becomes possible. This gate builds and tests it natively on Linux and
# Windows from day one.
on:
push:
branches: [main]
paths:
- "apps/headless-rs/**"
- ".github/workflows/rust-core.yml"
pull_request:
paths:
- "apps/headless-rs/**"
- ".github/workflows/rust-core.yml"
permissions:
contents: read
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: apps/headless-rs
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- uses: Swatinem/rust-cache@v2
with:
workspaces: apps/headless-rs
- run: cargo test --locked
- run: cargo clippy --locked --all-targets -- -D warnings