From a3301dfb95aabd5fe6b8afc2e674f5e92fa90bf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Sat, 24 Apr 2021 09:14:38 +0000 Subject: [PATCH] Bug 1705666 [wpt PR 28538] - [GitHub Actions] consistently use ubuntu-20.04 and checkout v2, a=testonly Automatic update from web-platform-tests [GitHub Actions] consistently use ubuntu-20.04 and checkout v2 (#28538) The default fetch-depth has changed, and the epochs workflow needs the history for `./wpt rev-list` to work. -- wpt-commits: 280d5059bbeff7177215e0990d7cfb3ef8e14ec7 wpt-pr: 28538 --- testing/web-platform/tests/.github/workflows/epochs.yml | 6 ++++-- testing/web-platform/tests/.github/workflows/manifest.yml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/testing/web-platform/tests/.github/workflows/epochs.yml b/testing/web-platform/tests/.github/workflows/epochs.yml index a605a818c5f3..4ab98ffcb113 100644 --- a/testing/web-platform/tests/.github/workflows/epochs.yml +++ b/testing/web-platform/tests/.github/workflows/epochs.yml @@ -6,10 +6,12 @@ on: - cron: 10 */3 * * * jobs: update: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Run epochs_update.sh # Use a conditional step instead of a conditional job to work around #20700. if: github.repository == 'web-platform-tests/wpt' diff --git a/testing/web-platform/tests/.github/workflows/manifest.yml b/testing/web-platform/tests/.github/workflows/manifest.yml index 3210c703b1d8..6789362f123e 100644 --- a/testing/web-platform/tests/.github/workflows/manifest.yml +++ b/testing/web-platform/tests/.github/workflows/manifest.yml @@ -8,14 +8,14 @@ on: - 'tools/**' jobs: build-and-tag: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 steps: - name: Set up Python uses: actions/setup-python@v2 with: python-version: '3.x' - name: Checkout - uses: actions/checkout@v1 + uses: actions/checkout@v2 with: fetch-depth: 50 - name: Install dependencies