Skip to content

Commit

Permalink
Auto merge of #12623 - arlosi:cred-msrv, r=weihanglo
Browse files Browse the repository at this point in the history
Add MSRV validation GitHub Action for cargo-credential

`cargo-credential` should have a separate MSRV from the rest of Cargo that is more relaxed.
  • Loading branch information
bors committed Sep 6, 2023
2 parents d14c85f + a900742 commit 73d9081
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
needs:
- build_std
- clippy
- credential_msrv
- docs
- lockfile
- resolver
Expand All @@ -37,6 +38,7 @@ jobs:
needs:
- build_std
- clippy
- credential_msrv
- docs
- lockfile
- resolver
Expand Down Expand Up @@ -246,3 +248,10 @@ jobs:
cd target
curl -sSLO https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
sh linkcheck.sh --all --path ../src/doc cargo
credential_msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup update 1.70 && rustup default 1.70
- run: cargo test -p cargo-credential
1 change: 1 addition & 0 deletions credential/cargo-credential/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "cargo-credential"
version = "0.4.0"
edition.workspace = true
license.workspace = true
rust-version = "1.70.0"
repository = "https://github.com/rust-lang/cargo"
description = "A library to assist writing Cargo credential helpers."

Expand Down

0 comments on commit 73d9081

Please sign in to comment.