Skip to content

Commit 7c51eb2

Browse files
committed
ci: update install-action for new tarpaulin version
1 parent a43dc98 commit 7c51eb2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/coverage.yaml

+8-8
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ concurrency:
77
on:
88
push:
99
paths:
10-
- '**.rs'
11-
- '**.snap'
12-
- '**.yml'
10+
- "**.rs"
11+
- "**.snap"
12+
- "**.yml"
1313
jobs:
1414
test:
1515
name: Generate Coverage Report
@@ -20,22 +20,22 @@ jobs:
2020
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2121

2222
- name: Install cargo-tarpaulin
23-
uses: taiki-e/install-action@8484225d9734e230a8bf38421a4ffec1cc249372 # v2
23+
uses: taiki-e/install-action@2dbeb927f58939d3aa13bf06ba0c0a34b76b9bfb # v2
2424
with:
2525
tool: cargo-tarpaulin
2626

2727
# We run the coverage report on the workspace, but we configured in codecov to only look at parts of the workspace essentially
28-
#
28+
#
2929
# This is because we have a workspace with multiple crates, and we want to generate coverage for all of them, but we only want to
3030
# report the coverage of rustic_backend and rustic_core crates (currently) as this is where the main logic is
3131
- name: Generate code coverage
32-
env:
32+
env:
3333
RUST_BACKTRACE: "0"
3434
run: |
3535
cargo tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
36-
36+
3737
- name: Upload coverage reports to Codecov
3838
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5
3939
with:
4040
token: ${{ secrets.CODECOV_TOKEN }}
41-
slug: rustic-rs/rustic_core
41+
slug: rustic-rs/rustic_core

0 commit comments

Comments
 (0)