Skip to content

Commit fc03533

Browse files
committed
chore: fmt
1 parent 9e0ee3c commit fc03533

File tree

7 files changed

+734
-811
lines changed

7 files changed

+734
-811
lines changed

.github/workflows/rust.yml

+11-8
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,24 @@ name: Rust
22

33
on:
44
push:
5-
branches: [ "main", "dev" ]
5+
branches: ["main", "dev"]
66
pull_request:
7-
branches: [ "main", "dev" ]
7+
branches: ["main", "dev"]
88

99
env:
1010
CARGO_TERM_COLOR: always
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
1615

1716
steps:
18-
- uses: actions/checkout@v4
19-
- name: Build
20-
run: cargo build --verbose
21-
- name: Run tests
22-
run: cargo test --verbose
17+
- uses: actions/checkout@v4
18+
- name: Install Rust
19+
run: rustup update stable
20+
- name: Check formatting
21+
run: cargo fmt -- --check
22+
- name: Build
23+
run: cargo build --verbose
24+
- name: Run tests
25+
run: cargo test --verbose

0 commit comments

Comments
 (0)