Enhancement/ci build speed (#417)

This commit is contained in:
Flori 2023-08-26 14:47:51 +02:00 committed by GitHub
commit e9d455a5ce
2 changed files with 14 additions and 11 deletions

View File

@ -32,7 +32,10 @@ jobs:
npm run start & npm run start &
working-directory: ./server working-directory: ./server
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with:
cache-all-crates: "true"
- name: Build, Test and Publish Coverage - name: Build, Test and Publish Coverage
run: | run: |
cargo install cargo-tarpaulin curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo tarpaulin --all-features --verbose --skip-clean --coveralls ${{ secrets.COVERALLS_REPO_TOKEN }} --timeout 120 cargo binstall --no-confirm cargo-tarpaulin --force
cargo tarpaulin --all-features --avoid-cfg-tarpaulin --tests --verbose --skip-clean --coveralls ${{ secrets.COVERALLS_REPO_TOKEN }} --timeout 120

18
Cargo.lock generated
View File

@ -431,7 +431,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2d328fc287c61314c4a61af7cfdcbd7e678e39778488c7cb13ec133ce0f4059" checksum = "a2d328fc287c61314c4a61af7cfdcbd7e678e39778488c7cb13ec133ce0f4059"
dependencies = [ dependencies = [
"fsio", "fsio",
"indexmap 1.9.3", "indexmap 1.8.2",
] ]
[[package]] [[package]]
@ -648,7 +648,7 @@ dependencies = [
"futures-sink", "futures-sink",
"futures-util", "futures-util",
"http", "http",
"indexmap 1.9.3", "indexmap 1.8.2",
"slab", "slab",
"tokio", "tokio",
"tokio-util", "tokio-util",
@ -657,9 +657,9 @@ dependencies = [
[[package]] [[package]]
name = "hashbrown" name = "hashbrown"
version = "0.12.3" version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
[[package]] [[package]]
name = "hashbrown" name = "hashbrown"
@ -849,12 +849,12 @@ dependencies = [
[[package]] [[package]]
name = "indexmap" name = "indexmap"
version = "1.9.3" version = "1.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" checksum = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a"
dependencies = [ dependencies = [
"autocfg", "autocfg",
"hashbrown 0.12.3", "hashbrown 0.11.2",
"serde", "serde",
] ]
@ -1730,7 +1730,7 @@ dependencies = [
"base64 0.21.2", "base64 0.21.2",
"chrono", "chrono",
"hex", "hex",
"indexmap 1.9.3", "indexmap 1.8.2",
"serde", "serde",
"serde_json", "serde_json",
"serde_with_macros", "serde_with_macros",
@ -1888,7 +1888,7 @@ dependencies = [
"generic-array", "generic-array",
"hashlink", "hashlink",
"hex", "hex",
"indexmap 1.9.3", "indexmap 1.8.2",
"ipnetwork", "ipnetwork",
"itoa", "itoa",
"libc", "libc",