Skip to content

Commit

Permalink
[GitHub Actions] consistently use ubuntu-20.04 and checkout v2 (#28538)
Browse files Browse the repository at this point in the history
The default fetch-depth has changed, and the epochs workflow needs the
history for `./wpt rev-list` to work.
  • Loading branch information
foolip committed Apr 21, 2021
1 parent 9ee6580 commit 280d505
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/epochs.yml
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manifest.yml
Expand Up @@ -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
Expand Down

0 comments on commit 280d505

Please sign in to comment.