Skip to content

Commit 7140a3c

Browse files
authored
wirego_remote(rust): Introduce logger (#46)
* wirego_remote(rust): Introduce logger * Fix the CI job to fetch all files in the rust implementation * Add formatting check
1 parent 3dd2d8c commit 7140a3c

File tree

6 files changed

+249
-51
lines changed

6 files changed

+249
-51
lines changed

.github/workflows/rust-ubuntu.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
push:
55
branches: ["main"]
66
# examples could be run in the other job after this one passes
7-
paths: [".github/workflows/rust-ubuntu.yml", "wirego_remote/rust/wirego"]
7+
paths: [".github/workflows/rust-ubuntu.yml", "wirego_remote/rust/wirego/**"]
88
pull_request:
99
branches: ["main"]
10-
paths: [".github/workflows/rust-ubuntu.yml", "wirego_remote/rust/wirego"]
10+
paths: [".github/workflows/rust-ubuntu.yml", "wirego_remote/rust/wirego/**"]
1111

1212
env:
1313
CARGO_TERM_COLOR: always
@@ -26,6 +26,10 @@ jobs:
2626
run: cargo build --verbose
2727
working-directory: ${{ env.working-directory }}
2828

29+
- name: Check the formatting of the code
30+
run: cargo fmt --all -- --check
31+
working-directory: ${{ env.working-directory }}
32+
2933
- name: Check the package and dependencies for errors
3034
run: cargo check --verbose
3135
working-directory: ${{ env.working-directory }}

wirego_remote/rust/wirego/Cargo.lock

Lines changed: 197 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)