Add Zstd support as optional and compile-time low ratio report #50
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 | |
- pull_request | |
jobs: | |
fmt: | |
name: rustfmt check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: default | |
- run: cargo fmt --all -- --check | |
lint: | |
name: clippy lint | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- beta | |
- nightly | |
stability: | |
- "" | |
- "--release" | |
feature: | |
- "" | |
- "--no-default-features --features deflate" | |
- "--no-default-features --features zstd" | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: ${{matrix.toolchain}} | |
profile: default | |
default: true | |
- name: cargo clippy | |
run: "cargo clippy --all ${{matrix.feature}} ${{matrix.stability}}" |