Skip to content

CI: Don't use nightly for fmt or readme #50

CI: Don't use nightly for fmt or readme

CI: Don't use nightly for fmt or readme #50

Workflow file for this run

name: Formal checks
on:
pull_request:
branches:
- '*'
jobs:
rustfmt:
runs-on: ubuntu-latest
container: docker.io/_/rust
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run cargo-fmt
run: cargo fmt --check
cargo-readme:
runs-on: ubuntu-latest
container: docker.io/_/rust
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions-rs/[email protected]
with:
crate: cargo-readme
version: latest
- name: Verify that README.rst is up to date
run: cargo +nightly readme | diff /dev/stdin README.md