Skip to content

Commit 96c5df4

Browse files
committed
ci: update coverage ci
1 parent 279a762 commit 96c5df4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/coverage.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@ on: [pull_request, push]
55
jobs:
66
coverage:
77
runs-on: ubuntu-latest
8+
env:
9+
CARGO_TERM_COLOR: always
810
steps:
9-
- uses: actions/checkout@v3
10-
- name: Set nightly
11-
run: rustup override set nightly
12-
- name: Install llvm-tools-preview
13-
run: rustup component add llvm-tools-preview
11+
- uses: actions/checkout@v4
12+
- name: Install Rust
13+
run: rustup update stable
1414
- name: Install cargo-llvm-cov
1515
uses: taiki-e/install-action@cargo-llvm-cov
1616
- name: Generate code coverage
1717
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
1818
- name: Upload coverage to Codecov
19-
uses: codecov/codecov-action@v1
19+
uses: codecov/codecov-action@v3
2020
with:
2121
files: lcov.info
2222
fail_ci_if_error: true

0 commit comments

Comments
 (0)