Skip to content

Switch to shlex.

Switch to shlex. #75

Workflow file for this run

name: PR checks
on:
workflow_dispatch:
push:
branches:
- $default-branch
pull_request:
jobs:
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo build --tests
- run: cargo test --all-features
fmt:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- uses: actions-rust-lang/rustfmt@v1
clippy:
name: cargo clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: clippy
- uses: taiki-e/install-action@v2
with:
tool: cargo-lints
- run: cargo lints clippy --all-features --all-targets
- name: check doc lints
env:
RUSTDOCFLAGS: --document-private-items -Dwarnings
run: cargo doc --no-deps --all-features
deny:
name: cargo deny
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1
msrv:
name: cargo msrv
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: taiki-e/install-action@v2
with:
tool: cargo-msrv
- run: cargo msrv verify