Skip to content

Fix cross-platform guard failures after runtime solidification #53

Fix cross-platform guard failures after runtime solidification

Fix cross-platform guard failures after runtime solidification #53

Workflow file for this run

name: guard
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
concurrency:
group: guard-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
guard:
name: guard (${{ matrix.os }})
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Format
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --locked --workspace --all-targets -- -D warnings
- name: Test
run: cargo test --locked --workspace
- name: Dynet self-check
run: cargo run --locked -p dynet-cli -- check --root . --config dynet.json