Skip to content

Commit 9525e0c

Browse files
authored
minors (#27)
* minors * minors
1 parent 6f42e62 commit 9525e0c

File tree

17 files changed

+1156
-657
lines changed

17 files changed

+1156
-657
lines changed

.github/workflows/fmt.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Run Rust Format and Clippy
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
lint-fmt:
15+
name: Run fmt and clippy
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
22+
- uses: actions-rust-lang/setup-rust-toolchain@v1
23+
with:
24+
toolchain: 1.82.0
25+
components: rustfmt,clippy
26+
cache: true
27+
28+
- uses: extractions/setup-just@v2
29+
30+
- name: Install Protoc
31+
uses: arduino/setup-protoc@v3
32+
33+
- name: Check fmt
34+
run: just fmt-check
35+
36+
- name: Run Clippy
37+
run: just clippy

0 commit comments

Comments
 (0)