File tree Expand file tree Collapse file tree 4 files changed +9
-14
lines changed
Expand file tree Collapse file tree 4 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ updates:
1010 directory : " /"
1111 schedule :
1212 interval : " weekly"
13-
13+
1414 - package-ecosystem : " cargo"
1515 directory : " /"
1616 schedule :
Original file line number Diff line number Diff line change 2929 include :
3030 - target : x86_64-unknown-linux-gnu
3131 os : ubuntu-latest
32+ test_args : " "
33+ rust_ver : 1.85
3234 # - target: x86_64-unknown-linux-musl
3335 # os: ubuntu-latest
3436 # - target: x86_64-apple-darwin
4850 - name : Install Rust
4951 uses : dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0 # stable
5052 with :
51- toolchain : stable
5253 targets : ${{ matrix.target }}
54+ toolchain : ${{ matrix.rust_ver }}
5355
5456 - name : Install cargo-nextest
5557 uses : taiki-e/install-action@f1390fd0d8205ae79e5e57b1d1e300dceeb4163e # v2.49.44
6062 uses : swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
6163
6264 - name : Run tests
63- run : cargo nextest run
65+ run : cargo nextest run ${{ matrix.test_args }}
6466
6567 - name : Run Doc tests
6668 run : cargo test --doc
Original file line number Diff line number Diff line change 5555 permissions :
5656 contents : read
5757 security-events : write
58- strategy :
59- matrix :
60- include :
61- - rust_ver : 1.76
62- clippy_args : " -p openstack_sdk -p openstack_types"
63- - rust_ver : 1.85
64- clippy_args : " -p openstack_cli -p openstack_tui"
6558 steps :
6659
6760 - name : Harden Runner
@@ -71,10 +64,10 @@ jobs:
7164
7265 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7366
74- - name : Install Rust ${{ matrix.rust_ver }}
67+ - name : Install Rust
7568 uses : dtolnay/rust-toolchain@56f84321dbccf38fb67ce29ab63e4754056677e0 # stable
7669 with :
77- toolchain : ${{ matrix.rust_ver }}
70+ toolchain : stable
7871 components : rustfmt, clippy
7972
8073 - uses : swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
9184 run :
9285 cargo clippy
9386 --lib --tests
94- --all-features ${{ matrix.clippy_args }}
87+ --all-features
9588 --message-format=json | ${CARGO_HOME}/bin/clippy-sarif | tee rust-clippy-results.sarif | ${CARGO_HOME}/bin/sarif-fmt
9689
9790 - name : Upload analysis results to GitHub
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ src = "src"
66title = " OpenStack Client Tools"
77
88[rust ]
9- edition = " 2024"
9+ edition = " 2024"
1010
1111[build ]
1212build-dir = " html"
You can’t perform that action at this time.
0 commit comments