Skip to content

add ability to check exit status of command that was run #55

add ability to check exit status of command that was run

add ability to check exit status of command that was run #55

Workflow file for this run

name: Main
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo install cargo-all-features
- run: cargo build-all-features
- run: cargo build-all-features --release
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo install cargo-all-features
- run: cargo build-all-features
- run: cargo build-all-features --release
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo install cargo-all-features
- run: cargo install mdbook
- run: cargo test-all-features
- run: cargo test-all-features --release
test-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo install cargo-all-features
- run: cargo install mdbook
- run: cargo test-all-features
- run: cargo test-all-features --release
check_readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo install cargo-readme
- run: cargo readme > README.test.md
- run: diff README.md README.test.md
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: rustup component add clippy
- run: cargo clippy -- -D warnings
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: rustup component add rustfmt
- run: cargo fmt --check