From bc899b82dd10ee38dfdca4129e19d73c215e89da Mon Sep 17 00:00:00 2001 From: Kacper Kafara Date: Fri, 15 Sep 2023 15:53:15 +0200 Subject: [PATCH] chore(CI): put timelimit on execution of each workflow (#1893) ## Description After having iOS build lasting almost 3h (due to poor internet connection on worker, long download time & the machine was extremely slow) I've decided to put timelimit on each workflow run. I took a quick look at workflow durations in the past month and it looks like 60 minutes should be enough. ## Changes Added `timeout-minutes: 60` for each CI workflow ## Checklist - [x] Ensured that CI passes --- .github/workflows/android-build-test-fabric.yml | 1 + .github/workflows/android-build-test.yml | 1 + .github/workflows/ios-build-test-fabric.yml | 1 + .github/workflows/ios-build-test.yml | 1 + .github/workflows/tv-os-build-test.yml | 1 + 5 files changed, 5 insertions(+) diff --git a/.github/workflows/android-build-test-fabric.yml b/.github/workflows/android-build-test-fabric.yml index 39b8a8f72b..95a071c2db 100644 --- a/.github/workflows/android-build-test-fabric.yml +++ b/.github/workflows/android-build-test-fabric.yml @@ -17,6 +17,7 @@ on: jobs: build: runs-on: ubuntu-latest + timeout-minutes: 60 env: WORKING_DIRECTORY: FabricTestExample concurrency: diff --git a/.github/workflows/android-build-test.yml b/.github/workflows/android-build-test.yml index e9383b03ae..b39c65c9ea 100644 --- a/.github/workflows/android-build-test.yml +++ b/.github/workflows/android-build-test.yml @@ -15,6 +15,7 @@ on: jobs: build: runs-on: ubuntu-latest + timeout-minutes: 60 env: WORKING_DIRECTORY: TestsExample concurrency: diff --git a/.github/workflows/ios-build-test-fabric.yml b/.github/workflows/ios-build-test-fabric.yml index b5b4045909..4c66e41aa5 100644 --- a/.github/workflows/ios-build-test-fabric.yml +++ b/.github/workflows/ios-build-test-fabric.yml @@ -18,6 +18,7 @@ on: jobs: build: runs-on: macos-12 + timeout-minutes: 60 env: WORKING_DIRECTORY: FabricTestExample concurrency: diff --git a/.github/workflows/ios-build-test.yml b/.github/workflows/ios-build-test.yml index f1b8a8f5e0..dda2d6eee6 100644 --- a/.github/workflows/ios-build-test.yml +++ b/.github/workflows/ios-build-test.yml @@ -17,6 +17,7 @@ on: jobs: build: runs-on: macos-12 + timeout-minutes: 60 env: WORKING_DIRECTORY: TestsExample concurrency: diff --git a/.github/workflows/tv-os-build-test.yml b/.github/workflows/tv-os-build-test.yml index aa08c7a5d8..e598de968d 100644 --- a/.github/workflows/tv-os-build-test.yml +++ b/.github/workflows/tv-os-build-test.yml @@ -17,6 +17,7 @@ on: jobs: build: runs-on: macos-12 + timeout-minutes: 60 env: WORKING_DIRECTORY: TVOSExample concurrency: