Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build only on MSRV #230

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,24 @@ jobs:
rustup component add --toolchain ${{ matrix.toolchain }} rustfmt
rustup component add --toolchain ${{ matrix.toolchain }} clippy
rustup update ${{ matrix.toolchain }}
- name: Pin dependencies
if: matrix.msrv
run: |
cargo update -p allocator-api2 --precise "0.2.9" --verbose
cargo update -p tempfile --precise 3.3.0
cargo update -p log --precise 0.4.18
cargo update -p zstd-sys --precise "2.0.8+zstd.1.5.5"
# - name: Pin dependencies
# if: matrix.msrv
# run: cargo update -p allocator-api2 --precise "0.2.9" --verbose
- name: Lint all targets
if: ${{ !matrix.msrv }}
run: cargo clippy --all-targets
- name: Format
if: ${{ !matrix.msrv }}
run: cargo fmt -- --check
- name: Build with defeault features
run: cargo build --verbose
- name: Check release build on Rust ${{ matrix.toolchain }}
run: cargo check --release --verbose --color always
- name: Unit test
if: ${{ !matrix.msrv }}
run: cargo test --verbose --lib
- name: Doc test
if: ${{ !matrix.msrv }}
run: cargo test --verbose --doc
signet:
runs-on: ubuntu-latest
Expand Down
Loading
Loading