mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 11:07:31 +01:00
ci: run the spec trace check on a GitHub-hosted runner
The check runs no PR code and needs no project host, but it queued behind the self-hosted test jobs; every PR's merge waited on that queue. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3113f9420f
commit
b81e0597d2
1 file changed
+9
-4
+9
-4
@@ -22,10 +22,9 @@ concurrency:
|
||||
jobs:
|
||||
trace:
|
||||
name: spec trace
|
||||
# Same-repository PRs use the project's self-hosted runners, as the test
|
||||
# workflow does; fork PRs stay on a GitHub-hosted runner, whose shared queue
|
||||
# can wait for hours. No PR code runs here either way.
|
||||
runs-on: ${{ github.event.pull_request.head.repo.full_name == github.repository && 'tp04-seaweed-block' || 'ubuntu-latest' }}
|
||||
# A GitHub-hosted runner: this check runs no PR code and needs no project
|
||||
# host, so it does not queue behind the self-hosted test jobs.
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: Checkout base
|
||||
@@ -37,6 +36,12 @@ jobs:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: false
|
||||
|
||||
- name: Check spec trace
|
||||
env:
|
||||
BASE: ${{ github.event.pull_request.base.sha }}
|
||||
|
||||
Reference in new issue
Block a user