From b873a18a2f607f661ddab60a11cf8703c9af9c8b Mon Sep 17 00:00:00 2001 From: Henry Mercer Date: Mon, 23 Jan 2023 19:12:27 +0000 Subject: [PATCH] Limit Swift autobuild runtime to 10 minutes There's a known issue that causes the Swift autobuilder to hang. By setting a timeout, we'll fail earlier and we can rerun the check earlier. --- .github/workflows/__swift-autobuild.yml | 1 + pr-checks/checks/swift-autobuild.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/__swift-autobuild.yml b/.github/workflows/__swift-autobuild.yml index f47aae05b6..9a581d3cf3 100644 --- a/.github/workflows/__swift-autobuild.yml +++ b/.github/workflows/__swift-autobuild.yml @@ -54,6 +54,7 @@ jobs: shell: bash run: pwd - uses: ./../action/autobuild + timeout-minutes: 10 - uses: ./../action/analyze id: analysis - name: Check database diff --git a/pr-checks/checks/swift-autobuild.yml b/pr-checks/checks/swift-autobuild.yml index 2d57e634f7..30faa0558c 100644 --- a/pr-checks/checks/swift-autobuild.yml +++ b/pr-checks/checks/swift-autobuild.yml @@ -18,6 +18,7 @@ steps: shell: bash run: pwd - uses: ./../action/autobuild + timeout-minutes: 10 - uses: ./../action/analyze id: analysis - name: Check database