Skip to content

Commit a0e4c7b

Browse files
committed
refactor CI workflow
1 parent affe68f commit a0e4c7b

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,21 @@ jobs:
1616
rustfmt:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
20-
- uses: hecrj/setup-rust-action@v2
21-
with:
22-
components: rustfmt
23-
- run: cargo fmt --all --check
19+
- uses: actions/checkout@v4
20+
- uses: hecrj/setup-rust-action@v2
21+
with:
22+
components: rustfmt
23+
- run: cargo fmt --all --check
2424

2525
clippy:
2626
runs-on: ubuntu-latest
2727
steps:
28-
- uses: actions/checkout@v4
29-
- uses: hecrj/setup-rust-action@v2
30-
with:
31-
components: clippy
32-
- uses: taiki-e/install-action@protoc
33-
- uses: Swatinem/rust-cache@v2
34-
- run: cargo clippy --workspace --all-features --all-targets
28+
- uses: actions/checkout@v4
29+
- uses: hecrj/setup-rust-action@v2
30+
with:
31+
components: clippy
32+
- uses: Swatinem/rust-cache@v2
33+
- run: cargo clippy --workspace --all-features --all-targets
3534

3635
build_and_test:
3736
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)