Update actions/checkout in GitHub Actions workflows to v3

Signed-off-by: Dirk Stolle <striezel-dev@web.de>
This commit is contained in:
Dirk Stolle 2022-12-17 22:30:39 +01:00
parent dae8d221a1
commit bc151643cf
6 changed files with 17 additions and 17 deletions

View file

@ -10,7 +10,7 @@ jobs:
name: Upload docs to GitHub Pages
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Bootstrap

View file

@ -20,7 +20,7 @@ jobs:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
run: exit 0
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Copy to C drive
@ -47,7 +47,7 @@ jobs:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
run: exit 0
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Copy to C drive
@ -75,7 +75,7 @@ jobs:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-windows', github.ref) }}
run: exit 0
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Copy to C drive
@ -101,7 +101,7 @@ jobs:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-mac', github.ref) }}
run: exit 0
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
# TODO: Remove this step when the compatibility issue between mozjs and
@ -153,7 +153,7 @@ jobs:
# matrix:
# chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v3
# with:
# fetch-depth: 2
#
@ -205,7 +205,7 @@ jobs:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-linux refs/heads/try-wpt', github.ref) }}
run: exit 0
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Bootstrap
@ -241,7 +241,7 @@ jobs:
- name: Branch check
if: ${{ !contains('refs/heads/auto refs/heads/try refs/heads/try-wpt', github.ref) }}
run: exit 0
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/download-artifact@v2

View file

@ -15,7 +15,7 @@ jobs:
name: Build (Linux) + rustc nightly
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Update rustc

View file

@ -15,7 +15,7 @@ jobs:
name: Upload nightly (Linux)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Bootstrap
@ -36,7 +36,7 @@ jobs:
name: Upload nightly (macOS)
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
# TODO: Remove this step when the compatibility issue between mozjs and
@ -77,7 +77,7 @@ jobs:
name: Upload nightly (Windows)
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Copy to C drive
@ -116,7 +116,7 @@ jobs:
name: Upload nightly (UWP)
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Copy to C drive

View file

@ -12,7 +12,7 @@ jobs:
name: Build (Linux)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Bootstrap

View file

@ -13,7 +13,7 @@ jobs:
name: Build on Linux
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Bootstrap
@ -45,7 +45,7 @@ jobs:
matrix:
chunk_id: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/download-artifact@v2
@ -91,7 +91,7 @@ jobs:
- "linux-wpt"
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2
# Download all artifacts