Skip to content

Reduce option visibility #60

Reduce option visibility

Reduce option visibility #60

Workflow file for this run

name: CI
on:
- push
- pull_request
jobs:
linux-stable:
name: Linux stable
runs-on: ubuntu-latest
env:
RUST_BACKTRACE: 1
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --all --all-features
macos-stable:
name: macOS stable
runs-on: macos-latest
env:
RUST_BACKTRACE: 1
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --all --all-features
windows-stable:
name: Windows stable
runs-on: windows-latest
env:
RUST_BACKTRACE: 1
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --all --all-features
readme-check:
name: Check README.md
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Check README.md
uses: actions-rs/cargo@v1
with:
command: xtask
args: gen-help --check
rustfmt-check:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo fmt -- --check