Release 0.6.7 #174
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust CI | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
fmt: | |
name: Format | |
runs-on: ubuntu-latest | |
steps: | |
- name: ๐ฆ Checkout | |
uses: actions/checkout@v3 | |
- name: ๐ฆ Rust Toolchain & Cache | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: ๐ Check Rust Code Formatting | |
run: cargo fmt --all -- --check | |
cargo-deny: | |
runs-on: ubuntu-latest | |
steps: | |
- name: ๐ฆ Checkout | |
uses: actions/checkout@v3 | |
- name: ๐ฎ Check Rust Code with Cargo Deny | |
uses: EmbarkStudios/cargo-deny-action@v1 | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- name: ๐ฆ Checkout | |
uses: actions/checkout@v3 | |
- name: ๐ฆ Rust Toolchain & Cache | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: ๐ Check Rust Code with Clippy | |
run: cargo clippy --all-targets -- -D warnings | |
docs: | |
name: Docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: ๐ฆ Checkout | |
uses: actions/checkout@v3 | |
- name: ๐ฆ Rust Toolchain & Cache | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: ๐ Check Docs | |
env: | |
RUSTDOCFLAGS: "-D broken-intra-doc-links" | |
run: cargo doc --no-deps | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: ๐ฆ Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: ๐ฆ Rust Toolchain & Cache | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: ๐งช Test | |
run: cargo test |