Bundle for 0.1.13 release #47
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
on: [push, pull_request] | |
name: Continuous integration | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust (Stable) | |
run: | | |
curl -sSL https://sh.rustup.rs | sh -s -- -y | |
rustup default stable | |
- name: Cargo Check | |
run: cargo check | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust (Stable) | |
run: | | |
curl -sSL https://sh.rustup.rs | sh -s -- -y | |
rustup default stable | |
- name: Cargo Test | |
run: cargo test | |
fmt: | |
name: Rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust (Stable) | |
run: | | |
curl -sSL https://sh.rustup.rs | sh -s -- -y | |
rustup default stable | |
- name: Cargo Fmt | |
run: cargo fmt --all -- --check | |
clippy: | |
name: Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust (Stable) | |
run: | | |
curl -sSL https://sh.rustup.rs | sh -s -- -y | |
rustup default stable | |
- name: Install Clippy | |
run: rustup component add clippy | |
- name: Cargo Clippy | |
run: cargo clippy -- -D warnings |