From bc151643cf9c2904276dc0d77914c1a026f41df0 Mon Sep 17 00:00:00 2001 From: Dirk Stolle Date: Sat, 17 Dec 2022 22:30:39 +0100 Subject: [PATCH] Update actions/checkout in GitHub Actions workflows to v3 Signed-off-by: Dirk Stolle --- .github/workflows/docs.yml | 2 +- .github/workflows/main.yml | 14 +++++++------- .github/workflows/nightly-rust.yml | 2 +- .github/workflows/nightly.yml | 8 ++++---- .github/workflows/pull-request.yml | 2 +- .github/workflows/wpt-nightly.yml | 6 +++--- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fd08ae4f7ad..eadd9948bc0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7395659aba0..baf07771921 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.github/workflows/nightly-rust.yml b/.github/workflows/nightly-rust.yml index 0fe45030b28..7668ae1dfb0 100644 --- a/.github/workflows/nightly-rust.yml +++ b/.github/workflows/nightly-rust.yml @@ -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 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 271a9d121f9..d26b1c1a2c4 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2cc29e7421e..0c5f7ad3165 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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 diff --git a/.github/workflows/wpt-nightly.yml b/.github/workflows/wpt-nightly.yml index 6d5cd4d969c..070e0cb97bb 100644 --- a/.github/workflows/wpt-nightly.yml +++ b/.github/workflows/wpt-nightly.yml @@ -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