This is an automated email from the ASF dual-hosted git repository.
adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git
The following commit(s) were added to refs/heads/master by this push:
new 58671923e RATIS-2072. Limit timeout of CI workflow jobs (#1078)
58671923e is described below
commit 58671923e78a10d5c6a7d49a06e2d95690d5e9bb
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Mon May 6 17:44:26 2024 +0200
RATIS-2072. Limit timeout of CI workflow jobs (#1078)
---
.github/workflows/post-commit.yml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/.github/workflows/post-commit.yml
b/.github/workflows/post-commit.yml
index 22a6df756..13a921444 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -25,6 +25,7 @@ env:
jobs:
build:
runs-on: ubuntu-20.04
+ timeout-minutes: 30
steps:
- name: Checkout project
uses: actions/checkout@v4
@@ -62,6 +63,7 @@ jobs:
needs:
- build
runs-on: ubuntu-20.04
+ timeout-minutes: 30
strategy:
matrix:
java: [ 11 ]
@@ -93,6 +95,7 @@ jobs:
rat:
name: rat
runs-on: ubuntu-20.04
+ timeout-minutes: 15
steps:
- name: Checkout project
uses: actions/checkout@v4
@@ -116,6 +119,7 @@ jobs:
author:
name: author
runs-on: ubuntu-20.04
+ timeout-minutes: 15
steps:
- name: Checkout project
uses: actions/checkout@v4
@@ -130,6 +134,7 @@ jobs:
unit:
name: unit
runs-on: ubuntu-20.04
+ timeout-minutes: 60
strategy:
matrix:
profile:
@@ -173,6 +178,7 @@ jobs:
checkstyle:
name: checkstyle
runs-on: ubuntu-20.04
+ timeout-minutes: 15
steps:
- name: Checkout project
uses: actions/checkout@v4
@@ -196,6 +202,7 @@ jobs:
findbugs:
name: findbugs
runs-on: ubuntu-20.04
+ timeout-minutes: 30
steps:
- name: Setup java
uses: actions/setup-java@v4
@@ -226,6 +233,7 @@ jobs:
- build
- unit
runs-on: ubuntu-20.04
+ timeout-minutes: 30
if: (github.repository == 'apache/ratis' || github.repository ==
'apache/incubator-ratis') && github.event_name != 'pull_request'
steps:
- name: Checkout project