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:
parent
5c0de7ea49
commit
d34d9eef86
15 changed files with 15 additions and 0 deletions
1
.github/workflows/codeql-analysis.yml
vendored
1
.github/workflows/codeql-analysis.yml
vendored
|
|
@ -15,6 +15,7 @@ jobs:
|
||||||
analyze:
|
analyze:
|
||||||
name: Analyze
|
name: Analyze
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 20
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
|
||||||
1
.github/workflows/create-release.yml
vendored
1
.github/workflows/create-release.yml
vendored
|
|
@ -7,6 +7,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
create-release:
|
create-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout git repo
|
- name: Checkout git repo
|
||||||
|
|
|
||||||
1
.github/workflows/job-build-flatpak.yaml
vendored
1
.github/workflows/job-build-flatpak.yaml
vendored
|
|
@ -8,6 +8,7 @@ jobs:
|
||||||
build-linux-flatpak:
|
build-linux-flatpak:
|
||||||
name: ubuntu-flatpak
|
name: ubuntu-flatpak
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: symless/synergy-core:ubuntu20.04
|
image: symless/synergy-core:ubuntu20.04
|
||||||
|
|
|
||||||
1
.github/workflows/job-build-mac-10.13.yaml
vendored
1
.github/workflows/job-build-mac-10.13.yaml
vendored
|
|
@ -7,6 +7,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build-mac-10:
|
build-mac-10:
|
||||||
runs-on: "macos-latest-xlarge"
|
runs-on: "macos-latest-xlarge"
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
||||||
1
.github/workflows/job-build-mac-11.yaml
vendored
1
.github/workflows/job-build-mac-11.yaml
vendored
|
|
@ -11,6 +11,7 @@ defaults:
|
||||||
jobs:
|
jobs:
|
||||||
build-mac-11:
|
build-mac-11:
|
||||||
runs-on: "macos-latest-xlarge"
|
runs-on: "macos-latest-xlarge"
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
|
|
||||||
1
.github/workflows/job-changelog-check.yml
vendored
1
.github/workflows/job-changelog-check.yml
vendored
|
|
@ -15,6 +15,7 @@ jobs:
|
||||||
if: ${{ !github.event.pull_request.draft }}
|
if: ${{ !github.event.pull_request.draft }}
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Get changed files
|
- name: Get changed files
|
||||||
|
|
|
||||||
1
.github/workflows/job-sonarcloud.yml
vendored
1
.github/workflows/job-sonarcloud.yml
vendored
|
|
@ -14,6 +14,7 @@ jobs:
|
||||||
sonarcloud-analysis:
|
sonarcloud-analysis:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: symless/synergy-core:debian10
|
container: symless/synergy-core:debian10
|
||||||
|
timeout-minutes: 20
|
||||||
|
|
||||||
env:
|
env:
|
||||||
SONAR_SCANNER_VERSION: 5.0.1.3006
|
SONAR_SCANNER_VERSION: 5.0.1.3006
|
||||||
|
|
|
||||||
1
.github/workflows/job-test-linux-centos.yml
vendored
1
.github/workflows/job-test-linux-centos.yml
vendored
|
|
@ -15,6 +15,7 @@ jobs:
|
||||||
name: ${{ matrix.distro }}
|
name: ${{ matrix.distro }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: symless/synergy-core:${{ matrix.distro }}
|
container: symless/synergy-core:${{ matrix.distro }}
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
GIT_COMMIT: ${{ github.sha }}
|
||||||
|
|
|
||||||
1
.github/workflows/job-test-linux-debian.yml
vendored
1
.github/workflows/job-test-linux-debian.yml
vendored
|
|
@ -15,6 +15,7 @@ jobs:
|
||||||
name: ${{ matrix.distro }}
|
name: ${{ matrix.distro }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: symless/synergy-core:${{ matrix.distro }}
|
container: symless/synergy-core:${{ matrix.distro }}
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
GIT_COMMIT: ${{ github.sha }}
|
||||||
|
|
|
||||||
1
.github/workflows/job-test-linux-fedora.yml
vendored
1
.github/workflows/job-test-linux-fedora.yml
vendored
|
|
@ -15,6 +15,7 @@ jobs:
|
||||||
name: ${{ matrix.distro }}
|
name: ${{ matrix.distro }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: symless/synergy-core:${{ matrix.distro }}
|
container: symless/synergy-core:${{ matrix.distro }}
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
GIT_COMMIT: ${{ github.sha }}
|
||||||
|
|
|
||||||
1
.github/workflows/job-test-linux-ubuntu.yml
vendored
1
.github/workflows/job-test-linux-ubuntu.yml
vendored
|
|
@ -15,6 +15,7 @@ jobs:
|
||||||
name: ubuntu${{ matrix.distro }}
|
name: ubuntu${{ matrix.distro }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: symless/synergy-core:ubuntu${{ matrix.distro }}
|
container: symless/synergy-core:ubuntu${{ matrix.distro }}
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
GIT_COMMIT: ${{ github.sha }}
|
||||||
|
|
|
||||||
1
.github/workflows/job-test-mac.yml
vendored
1
.github/workflows/job-test-mac.yml
vendored
|
|
@ -13,6 +13,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
test-macos:
|
test-macos:
|
||||||
runs-on: ${{ matrix.runtime.os }}
|
runs-on: ${{ matrix.runtime.os }}
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
|
|
|
||||||
1
.github/workflows/job-test-windows.yml
vendored
1
.github/workflows/job-test-windows.yml
vendored
|
|
@ -13,6 +13,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
test-windows:
|
test-windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_COMMIT: ${{ github.sha }}
|
GIT_COMMIT: ${{ github.sha }}
|
||||||
|
|
|
||||||
1
.github/workflows/stale-issues.yml
vendored
1
.github/workflows/stale-issues.yml
vendored
|
|
@ -6,6 +6,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
stale-issues:
|
stale-issues:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v6
|
- uses: actions/stale@v6
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ Build/CI:
|
||||||
- #7321 Switch to GitHub hosted Mac M1 runner
|
- #7321 Switch to GitHub hosted Mac M1 runner
|
||||||
- #7322 Use C++20 and add Windows CMake preset
|
- #7322 Use C++20 and add Windows CMake preset
|
||||||
- #7323 Add Linux and macOS CMake presets
|
- #7323 Add Linux and macOS CMake presets
|
||||||
|
- #7325 Add timeout to all GitHub workflows
|
||||||
|
|
||||||
# 1.14.6
|
# 1.14.6
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue