File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
env :
10
10
CARGO_TERM_COLOR : always
11
- # Minimum supported Rust version (MSRV)
12
- ACTION_MSRV_TOOLCHAIN : 1.63.0
13
11
# Pinned toolchain for linting
14
12
ACTION_LINTS_TOOLCHAIN : 1.85.0
15
13
50
48
steps :
51
49
- name : Checkout repository
52
50
uses : actions/checkout@v2
51
+ - name : Extract MSRV
52
+ run : echo "ACTION_MSRV_TOOLCHAIN=$(grep 'rust-version' Cargo.toml | cut -d '"' -f2)" >> $GITHUB_ENV
53
53
- name : Install toolchain
54
54
uses : actions-rs/toolchain@v1
55
55
with :
Original file line number Diff line number Diff line change 2
2
name = " caps"
3
3
version = " 0.5.5"
4
4
edition = " 2018"
5
+ rust-version = " 1.63"
5
6
authors = [
" Luca Bruno <[email protected] >" ]
6
7
license = " MIT/Apache-2.0"
7
8
repository = " https://github.com/lucab/caps-rs"
You can’t perform that action at this time.
0 commit comments