Skip to content

Commit d4c016c

Browse files
committed
Add MSRV validation GitHub Action for cargo-credential
1 parent 5a856bf commit d4c016c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,3 +246,10 @@ jobs:
246246
cd target
247247
curl -sSLO https://raw.githubusercontent.com/rust-lang/rust/master/src/tools/linkchecker/linkcheck.sh
248248
sh linkcheck.sh --all --path ../src/doc cargo
249+
250+
credential_msrv:
251+
runs-on: ubuntu-latest
252+
steps:
253+
- uses: actions/checkout@v3
254+
- run: rustup update 1.70 && rustup default 1.70
255+
- run: cargo test -p cargo-credential

credential/cargo-credential/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "cargo-credential"
33
version = "0.3.1"
44
edition.workspace = true
55
license.workspace = true
6+
rust-version = "1.70.0"
67
repository = "https://github.com/rust-lang/cargo"
78
description = "A library to assist writing Cargo credential helpers."
89

0 commit comments

Comments
 (0)