From 22c26c1aaaa09f655f04bfb573a4407eb6899dd9 Mon Sep 17 00:00:00 2001 From: luoliwoshang <2643523683@qq.com> Date: Fri, 5 Sep 2025 11:26:29 +0800 Subject: [PATCH] ci:every job settimeout 30min --- .github/workflows/doc.yml | 4 ++++ .github/workflows/fmt.yml | 1 + .github/workflows/go.yml | 1 + .github/workflows/llgo.yml | 5 +++++ .github/workflows/release-build.yml | 2 ++ .github/workflows/targets.yml | 1 + 6 files changed, 14 insertions(+) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 5a0c8e30..b4239dd9 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -13,6 +13,7 @@ concurrency: jobs: doc_verify: runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v5 @@ -35,6 +36,7 @@ jobs: remote_install: continue-on-error: true + timeout-minutes: 30 strategy: matrix: os: @@ -71,6 +73,7 @@ jobs: local_install: continue-on-error: true + timeout-minutes: 30 strategy: matrix: os: @@ -122,6 +125,7 @@ jobs: local_install_full: continue-on-error: true + timeout-minutes: 30 strategy: matrix: os: diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index 15b694e3..3ef78aff 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -13,6 +13,7 @@ concurrency: jobs: fmt: runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 789a40ee..7fb0ebed 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,6 +16,7 @@ concurrency: jobs: test: continue-on-error: true + timeout-minutes: 30 strategy: matrix: os: diff --git a/.github/workflows/llgo.yml b/.github/workflows/llgo.yml index 44c4b548..17d3c6ce 100644 --- a/.github/workflows/llgo.yml +++ b/.github/workflows/llgo.yml @@ -16,6 +16,7 @@ concurrency: jobs: download-model: runs-on: ubuntu-latest + timeout-minutes: 30 steps: - name: Download model file run: | @@ -32,6 +33,7 @@ jobs: llgo: needs: download-model continue-on-error: true + timeout-minutes: 30 strategy: matrix: os: @@ -137,6 +139,7 @@ jobs: test: continue-on-error: true + timeout-minutes: 30 strategy: matrix: os: @@ -180,6 +183,7 @@ jobs: hello: continue-on-error: true + timeout-minutes: 30 strategy: matrix: os: [ubuntu-24.04, macos-latest] @@ -238,6 +242,7 @@ jobs: cross-compile: continue-on-error: true + timeout-minutes: 30 strategy: matrix: os: [macos-latest] diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 6844d3ff..eda49aca 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -12,6 +12,7 @@ concurrency: jobs: populate-darwin-sysroot: runs-on: macos-latest + timeout-minutes: 30 steps: - name: Check out code uses: actions/checkout@v5 @@ -28,6 +29,7 @@ jobs: build: runs-on: ubuntu-latest needs: populate-darwin-sysroot + timeout-minutes: 30 steps: - name: Check out code uses: actions/checkout@v5 diff --git a/.github/workflows/targets.yml b/.github/workflows/targets.yml index 210bcf68..c11c58e8 100644 --- a/.github/workflows/targets.yml +++ b/.github/workflows/targets.yml @@ -14,6 +14,7 @@ concurrency: jobs: llgo: continue-on-error: true + timeout-minutes: 30 strategy: matrix: os: