From 328b11f2cdd19380ec58151650b976c7de1a2e2c Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Sun, 15 Sep 2024 15:39:21 -0300 Subject: [PATCH] fix(ci): increase timeout, cache updater fixtures --- .github/workflows/covector-version-or-publish-v1.yml | 3 +++ core/tests/app-updater/tests/fixtures/tauri-v1/src/main.rs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/covector-version-or-publish-v1.yml b/.github/workflows/covector-version-or-publish-v1.yml index ad0f5e4749a2..3ac51830b121 100644 --- a/.github/workflows/covector-version-or-publish-v1.yml +++ b/.github/workflows/covector-version-or-publish-v1.yml @@ -180,9 +180,12 @@ jobs: - uses: Swatinem/rust-cache@v2 with: + cache-on-failure: true workspaces: | core -> ../target tooling/cli + core/tests/app-updater/tests/fixtures/tauri-v1 + core/tests/app-updater/tests/fixtures/tauri-v2/src-tauri - name: build CLI run: cargo build --manifest-path ./tooling/cli/Cargo.toml diff --git a/core/tests/app-updater/tests/fixtures/tauri-v1/src/main.rs b/core/tests/app-updater/tests/fixtures/tauri-v1/src/main.rs index 84d7b4caa929..a4bcc252439a 100644 --- a/core/tests/app-updater/tests/fixtures/tauri-v1/src/main.rs +++ b/core/tests/app-updater/tests/fixtures/tauri-v1/src/main.rs @@ -31,7 +31,7 @@ fn main() { tauri::async_runtime::spawn(async move { match handle .updater() - .timeout(Duration::from_secs(1)) + .timeout(Duration::from_secs(15)) .check() .await {