Version up to v0.1.5 #31
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 | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
rust: [1.66.0, stable, beta, nightly] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Check fmt | |
run: cargo fmt --all -- --check | |
- name: Clippy | |
run: cargo clippy --all --all-features -- --deny warnings | |
- name: Build | |
run: cargo build --verbose | |
- name: Doc tests | |
run: cargo test --doc | |
- name: Run tests | |
run: cargo test --verbose |