Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 5 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,6 @@ on:
- cron: "0 6 * * 1-5"

jobs:
check_rust:
name: Check zenoh-ts using Rust 1.75
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: dtolnay/[email protected]
- uses: Swatinem/rust-cache@v2
with:
cache-bin: false

- name: Check zenoh-ts with rust 1.75.0
run: |
cargo +1.75.0 check --release --bins --lib

rust:
name: Lints and doc tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand All @@ -65,8 +49,10 @@ jobs:
- name: Code format check
run: cargo fmt --check -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate"

- name: Clippy
run: cargo clippy --all -- -D warnings
- name: Clippy without synced Cargo.lock
run: |
rm Cargo.lock
cargo clippy --all -- -D warnings

- name: Run rust tests
run: cargo test
Expand Down Expand Up @@ -138,7 +124,7 @@ jobs:
ci:
name: CI status checks
runs-on: ubuntu-latest
needs: [check_rust, rust, typescript, markdown_lint]
needs: [rust, typescript, markdown_lint]
if: always()
steps:
- name: Check whether all jobs pass
Expand Down
Loading
Loading