Skip to content

Commit 7053700

Browse files
authored
Merge pull request #144 from oracle/timeouts
Add `timeout-minutes` to all build jobs.
2 parents ceec46a + f7f30e4 commit 7053700

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

.github/workflows/library-and-framework-list-validation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ jobs:
66
validate-library-and-framework-list-json:
77
name: "📋 Checks if the json file is written according to the existing schema"
88
runs-on: "ubuntu-20.04"
9+
timeout-minutes: 5
910
steps:
1011
- name: "☁️ Checkout repository"
1112
uses: actions/checkout@v3

.github/workflows/test-all-metadata.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
get-all-metadata:
1919
name: "📋 Get list of all supported libraries"
2020
runs-on: "ubuntu-20.04"
21+
timeout-minutes: 5
2122
outputs:
2223
matrix: ${{ steps.set-matrix.outputs.matrix }}
2324
steps:
@@ -37,6 +38,7 @@ jobs:
3738
test-all-metadata:
3839
name: "🧪 ${{ matrix.coordinates }} (GraalVM ${{ matrix.version }} ${{ matrix.java-version }} @ ${{ matrix.os }})"
3940
runs-on: ${{ matrix.os }}
41+
timeout-minutes: 20
4042
needs: get-all-metadata
4143
strategy:
4244
fail-fast: false

.github/workflows/test-changed-metadata.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
get-changed-metadata:
1818
name: "📋 Get a list of all changed libraries"
1919
runs-on: "ubuntu-20.04"
20+
timeout-minutes: 5
2021
outputs:
2122
matrix: ${{ steps.set-matrix.outputs.matrix }}
2223
none-found: ${{ steps.set-matrix.outputs.none-found }}
@@ -40,6 +41,7 @@ jobs:
4041
name: "🧪 ${{ matrix.coordinates }} (GraalVM ${{ matrix.version }} ${{ matrix.java-version }} @ ${{ matrix.os }})"
4142
if: needs.get-changed-metadata.result == 'success' && needs.get-changed-metadata.outputs.none-found != 'true'
4243
runs-on: ${{ matrix.os }}
44+
timeout-minutes: 20
4345
needs: get-changed-metadata
4446

4547
strategy:

0 commit comments

Comments
 (0)