ci: Update remaining GitHub actions to versions using Node.js 20 (#31450)

* Update sccache action

* Update baptiste0928/cargo-install

* Update github-script

* Update actions/setup-java

* Update nick-fields/retry
This commit is contained in:
Samson 2024-02-29 09:24:38 +01:00 committed by GitHub
parent ffc9730a48
commit cd92a17c5e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 18 additions and 19 deletions

View file

@ -77,9 +77,9 @@ jobs:
with:
ref: refs/pull/${{ github.event.number }}/head
- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.3
uses: mozilla-actions/sccache-action@v0.0.4
- name: Install taplo
uses: baptiste0928/cargo-install@v2
uses: baptiste0928/cargo-install@v3
with:
crate: taplo-cli
locked: true
@ -93,7 +93,7 @@ jobs:
python3 ./mach build --${{ inputs.profile }}
cp -r target/cargo-timings target/cargo-timings-macos
- name: Smoketest
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with: # See https://github.com/servo/servo/issues/30757
timeout_minutes: 5
max_attempts: 2
@ -102,7 +102,7 @@ jobs:
run: ./mach test-scripts
- name: Unit tests
if: ${{ inputs.unit-tests }}
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with:
timeout_minutes: 20 # https://github.com/servo/servo/issues/30275
max_attempts: 3 # https://github.com/servo/servo/issues/30683
@ -110,7 +110,7 @@ jobs:
- name: Build mach package
run: python3 ./mach package --${{ inputs.profile }}
- name: Run DMG smoketest
uses: nick-fields/retry@v2
uses: nick-fields/retry@v3
with: # See https://github.com/servo/servo/issues/30757
timeout_minutes: 5
max_attempts: 2