File tree Expand file tree Collapse file tree 4 files changed +25
-6
lines changed
Expand file tree Collapse file tree 4 files changed +25
-6
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [ main ]
66 pull_request :
7- branches : [ main ]
7+ workflow_dispatch :
88
99env :
1010 CARGO_TERM_COLOR : always
@@ -21,15 +21,30 @@ jobs:
2121 run : cargo clippy --tests
2222
2323 build :
24- name : " Build & Tests "
24+ name : " Build & Test "
2525 runs-on : ubuntu-latest
26+ strategy :
27+ matrix :
28+ rust :
29+ - stable
30+ - beta
31+ - nightly
32+ - " 1.53.0"
2633 steps :
2734 - uses : actions/checkout@v2
28- - name : Build
29- run : cargo build --verbose
30- - name : Tests default features
35+ - uses : actions-rs/toolchain@v1
36+ with :
37+ toolchain : ${{ matrix.rust }}
38+ override : true
39+ - name : Test default features
3140 run : cargo test --verbose
32- - name : Tests no default features
41+ - name : Test no default features
3342 run : cargo test --verbose --no-default-features
43+
44+ doc :
45+ name : " Doc"
46+ runs-on : ubuntu-latest
47+ steps :
48+ - uses : actions/checkout@v2
3449 - name : Check doc generation
3550 run : cargo doc --verbose
Original file line number Diff line number Diff line change 55### Added
66
77- Fix repository link in ` Cargo.toml ` .
8+ - Specify Minimum Supported Rust Version.
89
910### Fixed
1011
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ license = "MIT/Apache-2.0"
99readme = " README.md"
1010repository = " https://github.com/fengalin/option-operations"
1111edition = " 2018"
12+ rust-version = " 1.53"
1213
1314[features ]
1415default = [" std" ]
Original file line number Diff line number Diff line change 33[ ![ crates.io] [ Crate Logo ]] [ Crate ]
44[ ![ Documentation] [ Doc Logo ]] [ Doc ]
55[ ![ Build Status] [ CI Logo ]] [ CI ]
6+ [ ![ MSRV] [ rustc Logo ]] [ Crate ]
67
78` option-operations ` provides traits and auto-implementations to
89improve arithmetic operations usability when dealing with ` Option ` s.
@@ -95,3 +96,4 @@ at your option.
9596[ CI ] : https://github.com/fengalin/option-operations/actions/workflows/CI.yml
9697[ CI Logo ] : https://github.com/fengalin/option-operations/workflows/CI/badge.svg
9798
99+ [ rustc Logo ] : https://img.shields.io/badge/rust-1.53.0%2B-blue.svg?maxAge=3600
You can’t perform that action at this time.
0 commit comments