File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 77 pull_request :
88
99jobs :
10+ # this checks the msrv
11+ msrv :
12+ name : Verify MSRV
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+ - uses : baptiste0928/cargo-install@v2
17+ with :
18+ crate : cargo-msrv
19+ - name : Verify minimum rust version of influxdb crate
20+ run : cargo msrv --path influxdb verify
21+ - name : Verify minimum rust version of influxdb_derive crate
22+ run : cargo msrv --path influxdb_derive verify
23+
1024 # this checks that the readme created from rustdoc is up to date
1125 readmecheck :
1226 name : README Format Check
5367 fail-fast : false
5468 matrix :
5569 rust :
56- - name : MSRV
57- toolchain : " 1.65"
58- nightly : false
5970 - name : Stable
6071 toolchain : stable
6172 nightly : false
7889 ~/.cargo/git
7990 ~/.cargo/registry
8091 target
81- key : " ${{runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}}"
92+ key : " ${{matrix.rust.toolchain}} on ${{ runner.os}} Rust ${{steps.rust-toolchain.outputs.cachekey}}"
8293 - run : cargo test --lib
8394 - run : cargo test --doc
8495
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ license = "MIT"
1111readme = " README.md"
1212include = [" src/**/*" , " tests/**/*" , " Cargo.toml" , " LICENSE" ]
1313repository = " https://github.com/influxdb-rs/influxdb-rust"
14+ rust-version = " 1.65"
1415
1516[dependencies ]
1617chrono = { version = " 0.4.23" , features = [" serde" ], default-features = false }
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ license = "MIT"
1111readme = " README.md"
1212include = [" src/**/*" , " tests/**/*" , " Cargo.toml" , " LICENSE" ]
1313repository = " https://github.com/influxdb-rs/influxdb-rust"
14+ rust-version = " 1.65"
1415
1516[lib ]
1617proc-macro = true
You can’t perform that action at this time.
0 commit comments