Skip to content

Commit

Permalink
ci: remove dev deps on MSRV check
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Nov 30, 2023
1 parent 4be699d commit c6e8451
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,16 @@ jobs:
with:
toolchain: '1.56'

- name: Install cargo-hack
uses: taiki-e/[email protected]
with:
tool: cargo-hack

- name: Generate MSRV lockfile
run: cargo hack --remove-dev-deps generate-lockfile

- name: Check
run: cargo check
run: cargo check --workspace --all-features

test:
name: Test
Expand All @@ -40,4 +48,4 @@ jobs:
uses: actions-rust-lang/[email protected]

- name: Test
run: cargo test
run: cargo test --workspace --all-features
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Install Rust
uses: actions-rust-lang/[email protected]
with:
components: clippy

- name: Install cargo-hack
uses: taiki-e/[email protected]
with:
Expand All @@ -40,6 +42,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Rust (nightly)
uses: actions-rust-lang/[email protected]
with:
Expand All @@ -52,6 +55,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Rust
uses: actions-rust-lang/[email protected]
with:
Expand Down

0 comments on commit c6e8451

Please sign in to comment.