Skip to content

Commit

Permalink
Add more details to cargo msrv
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Nov 22, 2023
1 parent d5dd68b commit 064b4fc
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,16 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install cargo-binstall
uses: taiki-e/install-action@cargo-binstall

- name: Install cargo-msrv
uses: taiki-e/install-action@v2
with:
tool: cargo-msrv
run: cargo binstall --version 0.16.0-beta.17 --no-confirm cargo-msrv

#- uses: Swatinem/rust-cache@v1

- name: Check MSRV
run: cargo msrv verify
run: cargo msrv verify --log-target=stdout --output-format=json

semver:
name: Semantic Versioning
Expand Down Expand Up @@ -112,10 +113,11 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3


- name: Install cargo-binstall
uses: taiki-e/install-action@cargo-binstall
- name: Install cargo-msrv
uses: taiki-e/install-action@v2
with:
tool: cargo-msrv
run: cargo binstall --version 0.16.0-beta.17 --no-confirm cargo-msrv
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Install cargo-minimal-versions
Expand All @@ -124,10 +126,10 @@ jobs:
#- uses: Swatinem/rust-cache@v1

- name: Check with minimal versions
run: cargo msrv verify -- cargo minimal-versions check --workspace --ignore-private
run: cargo msrv verify --log-target=stdout --output-format=json -- cargo minimal-versions check --workspace --ignore-private

- name: Test with minimal versions
run: cargo msrv verify -- cargo minimal-versions test -- --test-threads 1
run: cargo msrv verify --log-target=stdout --output-format=json -- cargo minimal-versions test -- --test-threads 1

lints:
name: Lints
Expand Down

0 comments on commit 064b4fc

Please sign in to comment.