diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54d2726f13..93e198a81a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: test: name: "Unit tests" runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 7 continue-on-error: false env: JDK_VER: 17 @@ -49,7 +49,7 @@ jobs: build-durabletask: name: "Durable Task build & tests" runs-on: ubuntu-latest - timeout-minutes: 30 + timeout-minutes: 7 continue-on-error: false env: JDK_VER: 17 @@ -81,7 +81,7 @@ jobs: uses: nick-fields/retry@v3 with: max_attempts: 2 - timeout_minutes: 30 + timeout_minutes: 5 retry_wait_seconds: 15 command: ./mvnw -B -pl durabletask-client -Pintegration-tests dependency:copy-dependencies verify @@ -98,7 +98,7 @@ jobs: build: name: "Build jdk:${{ matrix.java }} sb:${{ matrix.spring-boot-display-version }} exp:${{ matrix.experimental }}" runs-on: ubuntu-latest - timeout-minutes: 45 + timeout-minutes: 25 continue-on-error: ${{ matrix.experimental }} strategy: fail-fast: false @@ -125,7 +125,7 @@ jobs: uses: nick-fields/retry@v3 with: max_attempts: 2 - timeout_minutes: 30 + timeout_minutes: 22 retry_wait_seconds: 15 command: PRODUCT_SPRING_BOOT_VERSION=${{ matrix.spring-boot-version }} ./mvnw -B -pl !durabletask-client -Pintegration-tests dependency:copy-dependencies verify - name: Upload failsafe test report for sdk-tests on failure @@ -157,7 +157,7 @@ jobs: publish: runs-on: ubuntu-latest needs: [ build, test, build-durabletask ] - timeout-minutes: 30 + timeout-minutes: 10 env: JDK_VER: 17 OSSRH_USER_TOKEN: ${{ secrets.OSSRH_USER_TOKEN }} diff --git a/.github/workflows/validate-docs.yml b/.github/workflows/validate-docs.yml index da60f32b0c..7b6c53a261 100644 --- a/.github/workflows/validate-docs.yml +++ b/.github/workflows/validate-docs.yml @@ -18,7 +18,7 @@ jobs: build: name: "Validate Javadocs generation" runs-on: oracle-vm-4cpu-16gb-arm64 - timeout-minutes: 60 + timeout-minutes: 6 env: JDK_VER: 17 steps: diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 74290000a2..033833c25e 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -27,6 +27,7 @@ on: jobs: validate: runs-on: ubuntu-latest + timeout-minutes: 20 strategy: fail-fast: false # Keep running if one leg fails. matrix: @@ -117,7 +118,7 @@ jobs: uses: nick-fields/retry@v3 with: max_attempts: 2 - timeout_minutes: 30 + timeout_minutes: 17 retry_wait_seconds: 10 command: | set -e