Skip to content

Commit 9a9b5c0

Browse files
committed
Merge format and test jobs
1 parent a7a29cf commit 9a9b5c0

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ env:
99
AWS_ACCESS_KEY_ID: AKIA46X5W6CZEAQSMRH7
1010

1111
jobs:
12-
rustfmt:
13-
name: Rustfmt
14-
runs-on: ubuntu-latest
15-
steps:
16-
- uses: actions/checkout@master
17-
- name: Install Rust
18-
run: rustup update stable && rustup default stable && rustup component add rustfmt
19-
- run: cargo fmt --all --check
20-
2112
test:
2213
name: Test
2314
runs-on: ubuntu-latest
@@ -38,6 +29,8 @@ jobs:
3829
- uses: Swatinem/rust-cache@v2
3930
- name: Run tests
4031
run: cargo test --workspace --all-targets
32+
- name: Check formatting
33+
run: cargo fmt --all --check
4134

4235
ci:
4336
name: CI

0 commit comments

Comments
 (0)