From a4e7f9e86787a5e9fa2515d2fab9f239e04fe531 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Thu, 10 Mar 2022 12:41:00 -0800 Subject: [PATCH] five min timeout --- .github/workflows/__with-checkout-path.yml | 29 ++-------------------- pr-checks/checks/with-checkout-path.yml | 2 +- pr-checks/sync.py | 10 +------- 3 files changed, 4 insertions(+), 37 deletions(-) diff --git a/.github/workflows/__with-checkout-path.yml b/.github/workflows/__with-checkout-path.yml index 0636bb88a1..8f49775350 100644 --- a/.github/workflows/__with-checkout-path.yml +++ b/.github/workflows/__with-checkout-path.yml @@ -24,38 +24,12 @@ jobs: strategy: matrix: include: - - os: ubuntu-latest - version: stable-20210308 - - os: macos-latest - version: stable-20210308 - - os: windows-2019 - version: stable-20210308 - - os: ubuntu-latest - version: stable-20210319 - - os: macos-latest - version: stable-20210319 - - os: windows-2019 - version: stable-20210319 - os: ubuntu-latest version: stable-20210809 - os: macos-latest version: stable-20210809 - os: windows-2019 version: stable-20210809 - - os: ubuntu-latest - version: cached - - os: macos-latest - version: cached - - os: windows-2019 - version: cached - - os: ubuntu-latest - version: latest - - os: macos-latest - version: latest - - os: windows-2019 - version: latest - - os: windows-2022 - version: latest - os: ubuntu-latest version: nightly-latest - os: macos-latest @@ -65,6 +39,7 @@ jobs: - os: windows-2022 version: nightly-latest name: Use a custom `checkout_path` + timeout-minutes: 30 runs-on: ${{ matrix.os }} steps: - name: Check out repository @@ -94,7 +69,7 @@ jobs: $CODEQL_RUNNER x/y/z/some-path/tests/multi-language-repo/build.sh & PID=$! - sleep 60 + sleep 300 ps -ef diff --git a/pr-checks/checks/with-checkout-path.yml b/pr-checks/checks/with-checkout-path.yml index ba57f82d8e..1275b74cf5 100644 --- a/pr-checks/checks/with-checkout-path.yml +++ b/pr-checks/checks/with-checkout-path.yml @@ -29,7 +29,7 @@ steps: $CODEQL_RUNNER x/y/z/some-path/tests/multi-language-repo/build.sh & PID=$! - sleep 60 + sleep 300 ps -ef diff --git a/pr-checks/sync.py b/pr-checks/sync.py index beb1d4dfd4..51e9445137 100644 --- a/pr-checks/sync.py +++ b/pr-checks/sync.py @@ -2,20 +2,12 @@ import os defaultTestVersions = [ - # The oldest supported CodeQL version: 2.4.5. If bumping, update `CODEQL_MINIMUM_VERSION` in `codeql.ts` - "stable-20210308", - # The last CodeQL release in the 2.4 series: 2.4.6. - "stable-20210319", # The last CodeQL release in the 2.5 series: 2.5.9. "stable-20210809", # The version of CodeQL currently in the toolcache. Typically either the latest release or the one before. - "cached", - # The latest release of CodeQL. - "latest", - # A nightly build directly from the our private repo, built in the last 24 hours. "nightly-latest" ] -defaultOperatingSystems = ["ubuntu-latest", "macos-latest", "windows-2019"] +defaultOperatingSystems = ["macos-latest"] header = """# Warning: This file is generated automatically, and should not be modified. # Instead, please modify the template in the pr-checks directory and run: # pip install ruamel.yaml && python3 sync.py