Skip to content

Commit

Permalink
Don't use cargo@v1
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Dec 18, 2023
1 parent 8e478a7 commit a4ab2fa
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,31 +40,16 @@ jobs:
rustup component add rustfmt clippy
- name: Code format check
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
run: cargo fmt --check

- name: Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all --examples -- -D warnings
run: cargo clippy --all --examples -- -D warnings

- name: Build zenoh-plugin-mqtt
uses: actions-rs/cargo@v1
with:
command: build
args: -p zenoh-plugin-mqtt --verbose --all-targets
run: cargo build -p zenoh-plugin-mqtt --verbose --all-targets

- name: Build zenoh-bridge-mqtt
uses: actions-rs/cargo@v1
with:
command: build
args: -p zenoh-bridge-mqtt --verbose --all-targets
run: cargo build -p zenoh-bridge-mqtt --verbose --all-targets

- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose
run: cargo test --verbose

0 comments on commit a4ab2fa

Please sign in to comment.