Skip to content

Commit 24166b1

Browse files
committed
build: remove invalid common
1 parent aaffa75 commit 24166b1

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/rust.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,32 +13,33 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- <<: *common-steps
16+
- uses: actions/checkout@v3
17+
- name: Cache setup
18+
uses: Swatinem/rust-cache@v2
1719
- name: Run build
1820
run: cargo build --verbose
1921

2022
test:
2123
runs-on: ubuntu-latest
2224
steps:
23-
- <<: *common-steps
25+
- uses: actions/checkout@v3
26+
- name: Cache setup
27+
uses: Swatinem/rust-cache@v2
2428
- name: Run tests
2529
run: cargo test --verbose
2630

2731
format:
2832
runs-on: ubuntu-latest
2933
steps:
30-
- <<: *common-steps
34+
- uses: actions/checkout@v3
3135
- name: Run format check
3236
run: cargo fmt --check
3337

3438
clippy:
3539
runs-on: ubuntu-latest
3640
steps:
37-
- <<: *common-steps
41+
- uses: actions/checkout@v3
42+
- name: Cache setup
43+
uses: Swatinem/rust-cache@v2
3844
- name: Run clippy
39-
run: cargo clippy
40-
41-
common-steps: &common-steps
42-
- uses: actions/checkout@v3
43-
- name: Cache setup
44-
uses: Swatinem/rust-cache@v2
45+
run: cargo clippy

0 commit comments

Comments
 (0)