Skip to content

Commit

Permalink
Merge pull request #230 from rustaceanrob/ci-12-4-
Browse files Browse the repository at this point in the history
Build only on MSRV
  • Loading branch information
rustaceanrob authored Dec 4, 2024
2 parents 0e3c78b + a95e004 commit a3f8b87
Show file tree
Hide file tree
Showing 2 changed files with 362 additions and 355 deletions.
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

0 comments on commit a3f8b87

Please sign in to comment.