mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-23 23:51:06 +01:00
build(deps): bump codecov/codecov-action from 3 to 4 (#397)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
parent
7fe13e142e
commit
2e0cbb8bbb
22
.github/workflows/coverage.yml
vendored
22
.github/workflows/coverage.yml
vendored
@ -24,17 +24,23 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Rust (nightly)
|
- name: Install Rust
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
|
uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
components: llvm-tools-preview
|
||||||
|
|
||||||
- name: Generate coverage file
|
- name: Install cargo-llvm-cov
|
||||||
run: |
|
uses: taiki-e/install-action@v2.26.8
|
||||||
cargo install cargo-tarpaulin --vers "^0.13"
|
with:
|
||||||
cargo tarpaulin --workspace --out Xml --verbose
|
tool: cargo-llvm-cov
|
||||||
|
|
||||||
|
- name: Generate code coverage
|
||||||
|
run: cargo llvm-cov --workspace --all-features --codecov --output-path codecov.json
|
||||||
|
|
||||||
- name: Upload to Codecov
|
- name: Upload to Codecov
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v4.0.1
|
||||||
with:
|
with:
|
||||||
file: cobertura.xml
|
files: codecov.json
|
||||||
|
fail_ci_if_error: true
|
||||||
|
env:
|
||||||
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user