set version to 1.1.0-rc.0 #101
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: | |
pull_request: | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "ACTIONS: Checkout" | |
uses: actions/checkout@v4 | |
- name: "Install: Rust toolchain" | |
uses: dsherret/rust-toolchain-file@v1 | |
- name: "ACTIONS: Setup caching" | |
uses: Swatinem/rust-cache@v2 | |
- name: "Build" | |
run: cargo build --release | |
- name: "Test" | |
run: cargo test --release | |
- name: "Test: Doc examples" | |
run: cargo test --release --doc | |
- name: "Check clippy" | |
run: cargo clippy --release --all-targets -- -D warnings | |
- name: "Check formatting" | |
run: cargo fmt -- --check |