Skip to content

Commit 00ad2fa

Browse files
committed
ci: add style check
1 parent 959bf5c commit 00ad2fa

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/check.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: check
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
style:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout machina
12+
uses: actions/checkout@v4
13+
14+
- name: Install Rust
15+
uses: dtolnay/rust-toolchain@stable
16+
17+
- name: Check code formatting
18+
run: cargo fmt --all --check

0 commit comments

Comments
 (0)