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

View file

@ -15,7 +15,7 @@ on:
jobs: jobs:
preview: preview:
name: 'Deploy 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' }} if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
steps: steps:

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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