Update bincode requirement from 1 to 2 #155
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: Lint and Test | |
on: | |
push: | |
paths-ignore: | |
- '.gitignore' | |
- 'CITATION.cff' | |
- 'LICENSE' | |
- 'README.md' | |
pull_request: | |
paths-ignore: | |
- '.gitignore' | |
- 'CITATION.cff' | |
- 'LICENSE' | |
- 'README.md' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
# - os: macos-latest | |
# - os: windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt,clippy | |
- name: fmt | |
run: cargo fmt -- --check | |
- name: check feature combinations | |
run: | | |
cargo check --no-default-features | |
cargo check --no-default-features --features sophia | |
cargo check --no-default-features --features cache | |
cargo check --no-default-features --features "sophia cache" | |
- name: clippy | |
run: cargo clippy --no-deps --all-features | |
- name: build | |
run: cargo build | |
- name: test | |
run: cargo test --all-features |