Update Changelog and Version to '0.3.2' #104
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: ci | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 7 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: π¦ Cache | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
Cargo.lock | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }} | |
restore-keys: | | |
${{ runner.os }}-cargo- | |
- name: π¨ Build | |
run: cargo build | |
- name: π§ͺ Test | |
run: cargo test | |
- name: π Lint | |
run: cargo clippy --no-deps | |
- name: π Generate Documentation | |
run: cargo doc --no-deps --document-private-items | |
env: | |
RUSTDOCFLAGS: "-D warnings" | |
format: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: π¦ Install nightly toolchain | |
run: | | |
rustup toolchain install nightly | |
rustup component add rustfmt --toolchain nightly | |
- name: π Format using rustfmt | |
run: cargo +nightly fmt --check |