|
58 | 58 |
|
59 | 59 | - name: Code format check |
60 | 60 | run: cargo fmt --check -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate" |
61 | | - - name: Clippy |
62 | | - run: cargo clippy --all -- -D warnings |
| 61 | + - name: Clippy without Cargo.lock |
| 62 | + run: | |
| 63 | + mv Cargo.lock Cargo.lock.bak |
| 64 | + cargo clippy --all -- -D warnings |
| 65 | + mv Cargo.lock.bak Cargo.lock |
63 | 66 |
|
64 | 67 | - name: Build zenoh-plugin-dds |
65 | 68 | run: cargo build -p zenoh-plugin-dds --verbose --all-targets |
@@ -112,33 +115,6 @@ jobs: |
112 | 115 | config: '.markdownlint.yaml' |
113 | 116 | globs: '**/README.md' |
114 | 117 |
|
115 | | - check_rust: |
116 | | - name: Check ${{ github.repository }} using Rust 1.75 |
117 | | - runs-on: ubuntu-latest |
118 | | - strategy: |
119 | | - fail-fast: false |
120 | | - steps: |
121 | | - - name: Clone this repository |
122 | | - uses: actions/checkout@v4 |
123 | | - |
124 | | - # cyclors 0.3.x does not compile with cmake 4 |
125 | | - - name: Install cmake |
126 | | - uses: jwlawson/actions-setup-cmake@v2 |
127 | | - with: |
128 | | - cmake-version: '3.31.x' |
129 | | - |
130 | | - - name: Update Rust 1.75.0 toolchain |
131 | | - run: rustup update 1.75.0 |
132 | | - |
133 | | - - name: Setup rust-cache |
134 | | - uses: Swatinem/rust-cache@v2 |
135 | | - with: |
136 | | - cache-bin: false |
137 | | - |
138 | | - - name: Check ${{ github.repository }} with rust 1.75.0 |
139 | | - run: | |
140 | | - cargo +1.75.0 check --release --bins --lib |
141 | | -
|
142 | 118 | # NOTE: In GitHub repository settings, the "Require status checks to pass |
143 | 119 | # before merging" branch protection rule ensures that commits are only merged |
144 | 120 | # from branches where specific status checks have passed. These checks are |
|
0 commit comments