Skip to content

Fix README.md

Fix README.md #4

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
# This is faster for CI: https://github.com/dtolnay/rust-toolchain/issues/26.
CARGO_INCREMENTAL: "0"
jobs:
check:
name: check
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: rui314/setup-mold@v1
- name: Install Rust
run: rustup show && rustup install nightly && rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu # Nightly is needed for our configuration of cargo fmt
- run: cargo check --all-targets --all-features
- run: cargo test --all-targets --all-features