mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
chore: Update actions/checkout to @v5 (#40606)
update all occurences (in `servo/.github`) to v5 Testing: None Fixes: #40604 Signed-off-by: WaterWhisperer <waterwhisperer24@qq.com>
This commit is contained in:
4
.github/workflows/android.yml
vendored
4
.github/workflows/android.yml
vendored
@@ -51,13 +51,13 @@ jobs:
|
||||
android: false
|
||||
large-packages: false
|
||||
swap-storage: false
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name != 'pull_request_target'
|
||||
with:
|
||||
fetch-depth: 2
|
||||
# This is necessary to checkout the pull request if this run was triggered via a
|
||||
# `pull_request_target` event.
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name == 'pull_request_target'
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
name: Upload docs to GitHub Pages
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
- name: Free Disk Space (Ubuntu)
|
||||
uses: jlumbroso/free-disk-space@main
|
||||
with:
|
||||
|
||||
6
.github/workflows/linux-wpt.yml
vendored
6
.github/workflows/linux-wpt.yml
vendored
@@ -48,11 +48,11 @@ jobs:
|
||||
matrix:
|
||||
chunk_id: ${{ fromJson(needs.chunks.outputs.chunks-array) }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name != 'pull_request_target'
|
||||
# This is necessary to checkout the pull request if this run was triggered via a
|
||||
# `pull_request_target` event.
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name == 'pull_request_target'
|
||||
with:
|
||||
ref: refs/pull/${{ github.event.number }}/head
|
||||
@@ -122,7 +122,7 @@ jobs:
|
||||
name: wpt-filtered-logs-linux
|
||||
pattern: wpt-filtered-logs-linux-*
|
||||
delete-merged: true
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: ${{ !cancelled() && !inputs.wpt-sync-from-upstream }}
|
||||
- uses: actions/download-artifact@v4
|
||||
if: ${{ !cancelled() && !inputs.wpt-sync-from-upstream }}
|
||||
|
||||
4
.github/workflows/linux.yml
vendored
4
.github/workflows/linux.yml
vendored
@@ -258,13 +258,13 @@ jobs:
|
||||
name: Build libservo and MSRV check
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name != 'pull_request_target'
|
||||
with:
|
||||
fetch-depth: 1
|
||||
# This is necessary to checkout the pull request if this run was triggered via a
|
||||
# `pull_request_target` event.
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name == 'pull_request_target'
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
8
.github/workflows/mac-arm64.yml
vendored
8
.github/workflows/mac-arm64.yml
vendored
@@ -93,11 +93,11 @@ jobs:
|
||||
- name: Kill XProtectBehaviorService
|
||||
run: |
|
||||
echo Killing XProtect.; sudo pkill -9 XProtect >/dev/null || true;
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: runner.environment != 'self-hosted' && github.event_name != 'pull_request_target'
|
||||
# This is necessary to checkout the pull request if this run was triggered via a
|
||||
# `pull_request_target` event.
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: runner.environment != 'self-hosted' && github.event_name == 'pull_request_target'
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
@@ -219,13 +219,13 @@ jobs:
|
||||
name: Build libservo and MSRV check
|
||||
runs-on: macos-15
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name != 'pull_request_target'
|
||||
with:
|
||||
fetch-depth: 1
|
||||
# This is necessary to checkout the pull request if this run was triggered via a
|
||||
# `pull_request_target` event.
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name == 'pull_request_target'
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
6
.github/workflows/mac-wpt.yml
vendored
6
.github/workflows/mac-wpt.yml
vendored
@@ -30,11 +30,11 @@ jobs:
|
||||
matrix:
|
||||
chunk_id: [1, 2, 3, 4, 5]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name != 'pull_request_target'
|
||||
# This is necessary to checkout the pull request if this run was triggered via a
|
||||
# `pull_request_target` event.
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name == 'pull_request_target'
|
||||
with:
|
||||
ref: refs/pull/${{ github.event.number }}/head
|
||||
@@ -92,7 +92,7 @@ jobs:
|
||||
name: wpt-full-logs-${{ env.NAME }}
|
||||
pattern: wpt-full-logs-${{ env.NAME }}-*
|
||||
delete-merged: true
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v5
|
||||
if: ${{ !cancelled() }}
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
4
.github/workflows/mac.yml
vendored
4
.github/workflows/mac.yml
vendored
@@ -238,13 +238,13 @@ jobs:
|
||||
name: Build libservo and MSRV check
|
||||
runs-on: macos-15-intel
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name != 'pull_request_target'
|
||||
with:
|
||||
fetch-depth: 1
|
||||
# This is necessary to checkout the pull request if this run was triggered via a
|
||||
# `pull_request_target` event.
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name == 'pull_request_target'
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -20,7 +20,7 @@ jobs:
|
||||
outputs:
|
||||
configuration: ${{ steps.configuration.outputs.result }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 1
|
||||
sparse-checkout: |
|
||||
|
||||
8
.github/workflows/ohos.yml
vendored
8
.github/workflows/ohos.yml
vendored
@@ -48,13 +48,13 @@ jobs:
|
||||
outputs:
|
||||
signed: ${{ steps.signing_config.outputs.signed }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name != 'pull_request_target'
|
||||
with:
|
||||
fetch-depth: 2
|
||||
# This is necessary to checkout the pull request if this run was triggered via a
|
||||
# `pull_request_target` event.
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name == 'pull_request_target'
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
@@ -266,13 +266,13 @@ jobs:
|
||||
# to make sure we don't use a previous version if installation failed for some reason.
|
||||
hdc uninstall org.servo.servo
|
||||
hdc install -r servoshell-hos-signed.hap
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name != 'pull_request_target'
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# This is necessary to checkout the pull request if this run was triggered via a
|
||||
# `pull_request_target` event.
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name == 'pull_request_target'
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
cd servo
|
||||
git fetch origin pull/${{ github.event.pull_request.number}}/head:pr --depth ${{ env.PR_FETCH_DEPTH }}
|
||||
- name: Check out wpt
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
path: wpt
|
||||
repository: 'web-platform-tests/wpt'
|
||||
|
||||
2
.github/workflows/scheduled-wpt-import.yml
vendored
2
.github/workflows/scheduled-wpt-import.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
- "linux"
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v5
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: wpt-full-logs-linux
|
||||
|
||||
2
.github/workflows/try-label.yml
vendored
2
.github/workflows/try-label.yml
vendored
@@ -66,7 +66,7 @@ jobs:
|
||||
}
|
||||
|
||||
return try_string;
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
sparse-checkout: |
|
||||
python/servo/try_parser.py
|
||||
|
||||
2
.github/workflows/try.yml
vendored
2
.github/workflows/try.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
||||
outputs:
|
||||
configuration: ${{ steps.configuration.outputs.result }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 1
|
||||
sparse-checkout: |
|
||||
|
||||
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
@@ -229,13 +229,13 @@ jobs:
|
||||
name: Build libservo and MSRV check
|
||||
runs-on: windows-2022
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name != 'pull_request_target'
|
||||
with:
|
||||
fetch-depth: 1
|
||||
# This is necessary to checkout the pull request if this run was triggered via a
|
||||
# `pull_request_target` event.
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v5
|
||||
if: github.event_name == 'pull_request_target'
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
Reference in New Issue
Block a user