File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed
Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 build-test-unix :
13+ env :
14+ MRSV : ' 1.80.0'
1315 runs-on : ubuntu-latest
1416 strategy :
1517 matrix :
2022 - latest-nightly
2123 include :
2224 - conf : minimum
23- toolchain : 1.65.0
25+ toolchain : ${{env.MRSV}}
2426 - conf : latest-stable
2527 toolchain : stable
2628 - conf : latest-beta
5052 uses : actions-rs-plus/clippy-check@v2.3.0
5153 with :
5254 args : --all -- -D warnings
53- # FIXME: criterion and its dependencies require a newer version than 1.65, but it is only used for benchmarks.
54- # Is there a way to not have criterion built when we run tests?
55- - name : Run cargo check
56- if : matrix.toolchain == '1.65.0'
57- run : cargo check
5855 - name : Run tests
59- if : matrix.toolchain != '1.65.0'
6056 run : cargo test
61- - name : Build benchmarks
62- if : matrix.toolchain == 'stable'
63- run : cargo bench --no-run
6457 - name : Build docs
6558 run : cargo doc --no-deps
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "sqlformat"
33version = " 0.3.5"
44authors = [" Josh Holmer <jholmer.in@gmail.com>" ]
55edition = " 2021"
6- rust-version = " 1.65 "
6+ rust-version = " 1.80 "
77license = " MIT OR Apache-2.0"
88homepage = " https://github.com/shssoichiro/sqlformat-rs"
99repository = " https://github.com/shssoichiro/sqlformat-rs"
You can’t perform that action at this time.
0 commit comments