update & streamline GH Actions runner images (#3025)

This commit is contained in:
Georg Lauterbach 2023-01-28 13:53:17 +01:00 committed by GitHub
parent 555fbb78c4
commit bb758ea34d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 11 additions and 11 deletions

View File

@ -6,7 +6,7 @@ on:
jobs:
delete-old-branch:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
continue-on-error: true
steps:
- name: Delete old contributors-update branch
@ -16,7 +16,7 @@ jobs:
branches: contributors-update
add-contributors:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: delete-old-branch
steps:
- uses: actions/checkout@v3

View File

@ -15,7 +15,7 @@ on:
jobs:
preview:
name: 'Deploy Preview'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
steps:

View File

@ -23,7 +23,7 @@ permissions:
jobs:
prepare-preview:
name: 'Build Preview'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
BUILD_DIR: docs/site
NETLIFY_SITE_PREFIX: pullrequest-${{ github.event.pull_request.number }}

View File

@ -26,7 +26,7 @@ jobs:
permissions:
contents: write
name: 'Deploy Docs'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
@ -73,7 +73,7 @@ jobs:
permissions:
contents: write
name: 'Update `versions.json` if necessary'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: startsWith(github.ref, 'refs/tags/')
# Avoid race condition with pushing to `gh-pages` branch by waiting for `deploy` to complete first
needs: deploy

View File

@ -23,7 +23,7 @@ permissions:
jobs:
build-image:
name: 'Build'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
build-cache-key: ${{ steps.derive-image-cache-key.outputs.digest }}
steps:

View File

@ -14,7 +14,7 @@ permissions:
jobs:
publish-images:
name: 'Publish'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: 'Checkout'
uses: actions/checkout@v3

View File

@ -13,7 +13,7 @@ permissions:
jobs:
run-tests:
name: 'Test'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
part: [serial, parallel/set1, parallel/set2, parallel/set3]

View File

@ -12,7 +12,7 @@ jobs:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Close stale issues
uses: actions/stale@v7

View File

@ -10,7 +10,7 @@ permissions:
jobs:
lint:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3