Skip to content

Commit bec5aa7

Browse files
committed
switched to rust 1.93, test without cargo.lock added
1 parent d19e380 commit bec5aa7

File tree

3 files changed

+2528
-546
lines changed

3 files changed

+2528
-546
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,6 @@ on:
2424
- cron: "0 6 * * 1-5"
2525

2626
jobs:
27-
check_rust:
28-
name: Check zenoh-ts using Rust 1.75
29-
runs-on: ubuntu-latest
30-
strategy:
31-
fail-fast: false
32-
steps:
33-
- uses: actions/checkout@v4
34-
- uses: dtolnay/[email protected]
35-
- uses: Swatinem/rust-cache@v2
36-
with:
37-
cache-bin: false
38-
39-
- name: Check zenoh-ts with rust 1.75.0
40-
run: |
41-
cargo +1.75.0 check --release --bins --lib
42-
4327
rust:
4428
name: Lints and doc tests on ${{ matrix.os }}
4529
runs-on: ${{ matrix.os }}
@@ -65,8 +49,10 @@ jobs:
6549
- name: Code format check
6650
run: cargo fmt --check -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate"
6751

68-
- name: Clippy
69-
run: cargo clippy --all -- -D warnings
52+
- name: Clippy without synced Cargo.lock
53+
run: |
54+
rm -f Cargo.lock
55+
cargo clippy --all -- -D warnings
7056
7157
- name: Run rust tests
7258
run: cargo test
@@ -138,7 +124,7 @@ jobs:
138124
ci:
139125
name: CI status checks
140126
runs-on: ubuntu-latest
141-
needs: [check_rust, rust, typescript, markdown_lint]
127+
needs: [rust, typescript, markdown_lint]
142128
if: always()
143129
steps:
144130
- name: Check whether all jobs pass

0 commit comments

Comments
 (0)