Skip to content

Commit

Permalink
Add job timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Oct 5, 2023
1 parent 58697ac commit b450f73
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
integration-tests:
name: Java ${{ matrix.java }}, MySQL ${{ matrix.mysql }}, MariaDB ${{ matrix.mariadb }}
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
java: [8, 11, 17]
Expand Down Expand Up @@ -39,6 +40,7 @@ jobs:
snapshot-deploy:
name: Deploy Snapshot to Sonatype
runs-on: ubuntu-latest
timeout-minutes: 60
if: ${{ github.repository == 'liquibase/liquibase-percona' && github.ref == 'refs/heads/main' }}
needs: integration-tests
steps:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
setup:
name: Prepare Versions and Create Tag
runs-on: ubuntu-latest
timeout-minutes: 60
outputs:
extensionVersion: ${{ steps.determine_version.outputs.extensionVersion }}
liquibaseVersion: ${{ steps.determine_version.outputs.liquibaseVersion }}
Expand Down Expand Up @@ -70,6 +71,7 @@ jobs:
needs: setup
name: "Build and Unit Test"
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -106,6 +108,7 @@ jobs:
needs: setup
name: Java ${{ matrix.java }}, MySQL ${{ matrix.mysql }}, MariaDB ${{ matrix.mariadb }}
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
java: [8, 11, 17]
Expand Down Expand Up @@ -141,6 +144,7 @@ jobs:
draft-release:
needs: [setup, build, integration-tests]
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
integration-test:
name: Java ${{ matrix.java }}
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
matrix:
java: [8]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
release:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
jobs:
update-changelog:
runs-on: ubuntu-latest
timeout-minutes: 60

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit b450f73

Please sign in to comment.