Add timeout to all GitHub workflows (#7325)

* Add 10 min timeout to all workflows

* Update ChangeLog

* Set analysis jobs to 20 min timeouts

* Update ChangeLog
This commit is contained in:
Nick Bolton
2024-01-11 17:44:42 +00:00
committed by GitHub
parent 5c0de7ea49
commit d34d9eef86
15 changed files with 15 additions and 0 deletions

View File

@ -15,6 +15,7 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false

View File

@ -7,6 +7,7 @@ on:
jobs:
create-release:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout git repo

View File

@ -8,6 +8,7 @@ jobs:
build-linux-flatpak:
name: ubuntu-flatpak
runs-on: ubuntu-latest
timeout-minutes: 10
container:
image: symless/synergy-core:ubuntu20.04

View File

@ -7,6 +7,7 @@ on:
jobs:
build-mac-10:
runs-on: "macos-latest-xlarge"
timeout-minutes: 10
strategy:
matrix:

View File

@ -11,6 +11,7 @@ defaults:
jobs:
build-mac-11:
runs-on: "macos-latest-xlarge"
timeout-minutes: 10
strategy:
matrix:

View File

@ -15,6 +15,7 @@ jobs:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Get changed files

View File

@ -14,6 +14,7 @@ jobs:
sonarcloud-analysis:
runs-on: ubuntu-latest
container: symless/synergy-core:debian10
timeout-minutes: 20
env:
SONAR_SCANNER_VERSION: 5.0.1.3006

View File

@ -15,6 +15,7 @@ jobs:
name: ${{ matrix.distro }}
runs-on: ubuntu-latest
container: symless/synergy-core:${{ matrix.distro }}
timeout-minutes: 10
env:
GIT_COMMIT: ${{ github.sha }}

View File

@ -15,6 +15,7 @@ jobs:
name: ${{ matrix.distro }}
runs-on: ubuntu-latest
container: symless/synergy-core:${{ matrix.distro }}
timeout-minutes: 10
env:
GIT_COMMIT: ${{ github.sha }}

View File

@ -15,6 +15,7 @@ jobs:
name: ${{ matrix.distro }}
runs-on: ubuntu-latest
container: symless/synergy-core:${{ matrix.distro }}
timeout-minutes: 10
env:
GIT_COMMIT: ${{ github.sha }}

View File

@ -15,6 +15,7 @@ jobs:
name: ubuntu${{ matrix.distro }}
runs-on: ubuntu-latest
container: symless/synergy-core:ubuntu${{ matrix.distro }}
timeout-minutes: 10
env:
GIT_COMMIT: ${{ github.sha }}

View File

@ -13,6 +13,7 @@ concurrency:
jobs:
test-macos:
runs-on: ${{ matrix.runtime.os }}
timeout-minutes: 10
defaults:
run:

View File

@ -13,6 +13,7 @@ concurrency:
jobs:
test-windows:
runs-on: windows-latest
timeout-minutes: 10
env:
GIT_COMMIT: ${{ github.sha }}

View File

@ -6,6 +6,7 @@ on:
jobs:
stale-issues:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/stale@v6

View File

@ -23,6 +23,7 @@ Build/CI:
- #7321 Switch to GitHub hosted Mac M1 runner
- #7322 Use C++20 and add Windows CMake preset
- #7323 Add Linux and macOS CMake presets
- #7325 Add timeout to all GitHub workflows
# 1.14.6