Skip to content

Commit

Permalink
use cargo-edit
Browse files Browse the repository at this point in the history
  • Loading branch information
h-a-n-a committed Aug 15, 2024
1 parent 11b76aa commit 92d69ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,16 @@ jobs:
echo CARGO_REGISTRIES_CRATES_IO_PROTOCOL=git >> $GITHUB_ENV
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Install cargo-rm
run: cargo install cargo-edit --version 0.11.0
- name: Use pinned Cargo.lock for Rust 1.34 and 1.44
if: ${{ matrix.rust-version == 1.34 || matrix.rust-version == 1.44 }}
run: cp Cargo.lock.rust134 Cargo.lock
- name: Build the library
run: cargo build
# Remove criterion to support testing with earlier versions
- name: Remove criterion
run: cargo remove --dev criterion
run: cargo-rm rm --dev criterion
- name: Test
run: cargo test
- name: Build all targets with all features
Expand Down

0 comments on commit 92d69ed

Please sign in to comment.