Skip to content

Commit 13daea5

Browse files
committed
CI: Extract CARGO_TARPAULIN_VERSION environment variable
1 parent 366f5a8 commit 13daea5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- master
88

99
env:
10+
CARGO_TARPAULIN_VERSION: 0.18.0-alpha.3
1011
DIESEL_CLI_VERSION: 1.4.1
1112
RUST_VERSION: 1.57.0
1213

@@ -48,5 +49,5 @@ jobs:
4849
- run: diesel database setup --locked-schema
4950

5051
# Set up cargo-tarpaulin and run the tests
51-
- run: cargo install cargo-tarpaulin --version ~0.18.0-alpha.3
52+
- run: cargo install cargo-tarpaulin --version ${{ env.CARGO_TARPAULIN_VERSION }}
5253
- run: cargo tarpaulin --avoid-cfg-tarpaulin --workspace

0 commit comments

Comments
 (0)