PhotoCraft: An open-source, photo editor written by scratch in pure Rust
ci: add comfortable runtime limits to unbounded jobs
skylartaylorb2fafcf68ccc
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex bec29abaf..07c11a4eb 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -39,6 +39,7 @@ jobs:# platform: the app shell, UI, text and fonts, GPU, pen input, build scripts or the lockfile.# macOS is tested only by release.yml.platforms:+ timeout-minutes: 10name: select platformsruns-on: ubuntu-latestoutputs:@@ -77,6 +78,7 @@ jobs:fitest:+ timeout-minutes: 100name: test (${{ matrix.os }})needs: platformsruns-on: ${{ matrix.os }}@@ -158,6 +160,7 @@ jobs:run: cargo xtask scorecard --checkcorpus:+ timeout-minutes: 30# Real-file corpus tests (cargo feature `corpus`), on every PR and on main. The corpora are# pinned in xtask/src/corpus_pins.rs and sha256-verified (xtask/*.sha256) after both a cache# restore and a download; a missing corpus fails the tests. The cache key changes only when a@@ -190,6 +193,7 @@ jobs:run: cargo xtask test-corpuswasm:+ timeout-minutes: 30name: wasm32 checkruns-on: ubuntu-lateststeps:@@ -206,6 +210,7 @@ jobs:run: cargo xtask wasmweb:+ timeout-minutes: 60name: web build and wasm size gate# PRs run it only when web-relevant files change (see `platforms`); main always does.needs: platforms@@ -250,6 +255,7 @@ jobs:} >> "$GITHUB_STEP_SUMMARY"fuzz:+ timeout-minutes: 60name: fuzz (${{ matrix.target.crate }}/${{ matrix.target.name }})# Placeholder: manual trigger only until a nightly schedule is enabled.if: github.event_name == 'workflow_dispatch' && inputs.fuzzdiff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex 1d6c4c1f5..67e6b3189 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -27,6 +27,7 @@ concurrency:jobs:build:+ timeout-minutes: 15name: mdBook buildruns-on: ubuntu-lateststeps:diff --git a/.github/workflows/packaging-lint.yml b/.github/workflows/packaging-lint.ymlindex 272715dc8..1d110e28f 100644--- a/.github/workflows/packaging-lint.yml+++ b/.github/workflows/packaging-lint.yml@@ -23,6 +23,7 @@ jobs:uses: storytold/craft-common-actions/.github/workflows/packaging-lint.yml@mainverified-appimage-inputs:+ timeout-minutes: 10name: Verified AppImage inputsruns-on: ubuntu-lateststeps: