From 7ae6686f6bff9b31999fccd164d19caf358c8995 Mon Sep 17 00:00:00 2001 From: luoliwoshang <2643523683@qq.com> Date: Thu, 4 Sep 2025 19:09:30 +0800 Subject: [PATCH 1/4] ci:concurrency config added --- .github/workflows/doc.yml | 4 ++++ .github/workflows/fmt.yml | 4 ++++ .github/workflows/go.yml | 4 ++++ .github/workflows/llgo.yml | 4 ++++ .github/workflows/release-build.yml | 4 ++++ .github/workflows/targets.yml | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 1bb57c3e..5a0c8e30 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -6,6 +6,10 @@ on: pull_request: branches: ["**"] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: doc_verify: runs-on: ubuntu-latest diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index e946028f..15b694e3 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -6,6 +6,10 @@ on: pull_request: branches: ["**"] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: fmt: runs-on: ubuntu-latest diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 17614d34..789a40ee 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,6 +9,10 @@ on: pull_request: branches: ["**"] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: test: continue-on-error: true diff --git a/.github/workflows/llgo.yml b/.github/workflows/llgo.yml index bd6d4f70..44c4b548 100644 --- a/.github/workflows/llgo.yml +++ b/.github/workflows/llgo.yml @@ -9,6 +9,10 @@ on: pull_request: branches: ["**"] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: download-model: runs-on: ubuntu-latest diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 289d8767..6844d3ff 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -5,6 +5,10 @@ on: tags: - "*" +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: populate-darwin-sysroot: runs-on: macos-latest diff --git a/.github/workflows/targets.yml b/.github/workflows/targets.yml index c704a675..210bcf68 100644 --- a/.github/workflows/targets.yml +++ b/.github/workflows/targets.yml @@ -7,6 +7,10 @@ on: pull_request: branches: ["**"] +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: llgo: continue-on-error: true From f6bb1d9922eb70d689d9c98ffed4e923a4fbc225 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Sep 2025 00:11:37 +0000 Subject: [PATCH 2/4] build(deps): bump actions/setup-node from 4 to 5 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/doc.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 1bb57c3e..3e6e152b 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v5 - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: "20" From c97d541936bd97adab2e709a7a4daffb720ee4b0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 5 Sep 2025 00:11:41 +0000 Subject: [PATCH 3/4] build(deps): bump actions/setup-go from 5 to 6 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/doc.yml | 4 ++-- .github/workflows/llgo.yml | 4 ++-- .github/workflows/release-build.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 1bb57c3e..959b65bd 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -77,7 +77,7 @@ jobs: - uses: actions/checkout@v5 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: "1.23" @@ -128,7 +128,7 @@ jobs: - uses: actions/checkout@v5 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: "1.23" diff --git a/.github/workflows/llgo.yml b/.github/workflows/llgo.yml index bd6d4f70..1f6d44ab 100644 --- a/.github/workflows/llgo.yml +++ b/.github/workflows/llgo.yml @@ -87,7 +87,7 @@ jobs: echo "LLGO_ROOT=$GITHUB_WORKSPACE" >> $GITHUB_ENV - name: Set up Go for testing - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{matrix.go}} @@ -166,7 +166,7 @@ jobs: echo "LLGO_ROOT=$GITHUB_WORKSPACE" >> $GITHUB_ENV - name: Set up Go for testing - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: ${{matrix.go}} diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 289d8767..de42da3a 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -30,7 +30,7 @@ jobs: with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v5 + uses: actions/setup-go@v6 with: go-version: 1.24.x - name: Set up QEMU 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 4/4] 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: