Skip to content

GitHub actions

GitHub actions #1

Workflow file for this run

on:
workflow_dispatch:
push:
pull_request:
name: ci
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- run: cargo test --all --all-features --locked
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- run: rustup component add rustfmt clippy
- run: cargo fmt --all -- --check
- run: cargo clippy --all-features -- --deny warnings