Skip to content

Commit 7441f99

Browse files
committed
Reorder jobs.
1 parent 26cba08 commit 7441f99

File tree

1 file changed

+21
-23
lines changed

1 file changed

+21
-23
lines changed

.github/workflows/ci.yaml

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,6 @@ jobs:
2828
uses: actions-rs/cargo@v1
2929
with:
3030
command: check
31-
32-
test:
33-
name: Test
34-
runs-on: macos-latest
35-
env:
36-
CARGO_TERM_COLOR: always
37-
steps:
38-
- uses: actions/checkout@v3
39-
- uses: actions-rs/toolchain@v1
40-
with:
41-
toolchain: stable
42-
components: clippy
43-
- name: Install cargo-llvm-cov
44-
uses: taiki-e/install-action@cargo-llvm-cov
45-
- name: Generate code coverage
46-
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
47-
- name: Upload coverage to Codecov
48-
uses: codecov/codecov-action@v3
49-
with:
50-
token: ${{ secrets.CODECOV_TOKEN }}
51-
files: lcov.info
52-
fail_ci_if_error: true
53-
5431
lint:
5532
name: Lint
5633
runs-on: ubuntu-latest
@@ -74,3 +51,24 @@ jobs:
7451

7552
- name: Run clippy
7653
run: make clippy
54+
test:
55+
name: Test
56+
runs-on: macos-latest
57+
env:
58+
CARGO_TERM_COLOR: always
59+
steps:
60+
- uses: actions/checkout@v3
61+
- uses: actions-rs/toolchain@v1
62+
with:
63+
toolchain: stable
64+
components: clippy
65+
- name: Install cargo-llvm-cov
66+
uses: taiki-e/install-action@cargo-llvm-cov
67+
- name: Generate code coverage
68+
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
69+
- name: Upload coverage to Codecov
70+
uses: codecov/codecov-action@v3
71+
with:
72+
token: ${{ secrets.CODECOV_TOKEN }}
73+
files: lcov.info
74+
fail_ci_if_error: true

0 commit comments

Comments
 (0)