Pin to Ubuntu 22 (#145)

Ubuntu 24 seems to have slightly different kerning / aliasing so we'll
need to update all out screenshots. In the meantime, pin to 22.
This commit is contained in:
David Baker 2024-10-14 13:38:03 +01:00 committed by GitHub
parent 771d4a8417
commit 03186e4a4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 18 additions and 18 deletions

View file

@ -10,7 +10,7 @@ on:
jobs: jobs:
backport: backport:
name: Backport name: Backport
runs-on: ubuntu-latest runs-on: ubuntu-22.04
# Only react to merged PRs for security reasons. # Only react to merged PRs for security reasons.
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target. # See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
if: > if: >

View file

@ -15,7 +15,7 @@ jobs:
report: report:
if: github.event.workflow_run.conclusion != 'cancelled' if: github.event.workflow_run.conclusion != 'cancelled'
name: Report results name: Report results
runs-on: ubuntu-latest runs-on: ubuntu-22.04
environment: Netlify environment: Netlify
permissions: permissions:
statuses: write statuses: write

View file

@ -45,7 +45,7 @@ env:
jobs: jobs:
build: build:
name: "Build Element-Web" name: "Build Element-Web"
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: inputs.skip != true if: inputs.skip != true
steps: steps:
- name: Checkout code - name: Checkout code
@ -95,7 +95,7 @@ jobs:
name: "Run Tests ${{ matrix.runner }}/${{ strategy.job-total }}" name: "Run Tests ${{ matrix.runner }}/${{ strategy.job-total }}"
needs: build needs: build
if: inputs.skip != true if: inputs.skip != true
runs-on: ubuntu-latest runs-on: ubuntu-22.04
permissions: permissions:
actions: read actions: read
issues: read issues: read
@ -162,7 +162,7 @@ jobs:
name: end-to-end-tests name: end-to-end-tests
needs: playwright needs: playwright
if: always() if: always()
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
if: inputs.skip != true if: inputs.skip != true

View file

@ -9,7 +9,7 @@ on:
jobs: jobs:
deploy: deploy:
if: github.event.workflow_run.conclusion != 'cancelled' && github.event.workflow_run.event == 'pull_request' if: github.event.workflow_run.conclusion != 'cancelled' && github.event.workflow_run.event == 'pull_request'
runs-on: ubuntu-latest runs-on: ubuntu-22.04
environment: Netlify environment: Netlify
steps: steps:
- name: 📝 Create Deployment - name: 📝 Create Deployment

View file

@ -7,7 +7,7 @@ on:
jobs: jobs:
notify-element-web: notify-element-web:
name: "Notify Element Web" name: "Notify Element Web"
runs-on: ubuntu-latest runs-on: ubuntu-22.04
# Only respect triggers from our develop branch, ignore that of forks # Only respect triggers from our develop branch, ignore that of forks
if: github.repository == 'element-hq/matrix-react-sdk' if: github.repository == 'element-hq/matrix-react-sdk'
steps: steps:

View file

@ -5,7 +5,7 @@ on:
- cron: "0 6 * * *" # Every day at 6am UTC - cron: "0 6 * * *" # Every day at 6am UTC
jobs: jobs:
update: update:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View file

@ -5,7 +5,7 @@ on:
jobs: jobs:
check_base_branch: check_base_branch:
name: Check PR base branch name: Check PR base branch
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/github-script@v7 - uses: actions/github-script@v7
with: with:

View file

@ -18,7 +18,7 @@ env:
jobs: jobs:
ts_lint: ts_lint:
name: "Typescript Syntax Check" name: "Typescript Syntax Check"
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -67,7 +67,7 @@ jobs:
rethemendex_lint: rethemendex_lint:
name: "Rethemendex Check" name: "Rethemendex Check"
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -77,7 +77,7 @@ jobs:
js_lint: js_lint:
name: "ESLint" name: "ESLint"
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -95,7 +95,7 @@ jobs:
style_lint: style_lint:
name: "Style Lint" name: "Style Lint"
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -113,7 +113,7 @@ jobs:
workflow_lint: workflow_lint:
name: "Workflow Lint" name: "Workflow Lint"
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -131,7 +131,7 @@ jobs:
analyse_dead_code: analyse_dead_code:
name: "Analyse Dead Code" name: "Analyse Dead Code"
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View file

@ -29,7 +29,7 @@ env:
jobs: jobs:
jest: jest:
name: Jest name: Jest
runs-on: ubuntu-latest runs-on: ubuntu-22.04
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@ -93,7 +93,7 @@ jobs:
name: jest-tests name: jest-tests
needs: jest needs: jest
if: always() if: always()
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- if: needs.jest.result != 'skipped' && needs.jest.result != 'success' - if: needs.jest.result != 'skipped' && needs.jest.result != 'success'
run: exit 1 run: exit 1
@ -111,7 +111,7 @@ jobs:
app-tests: app-tests:
name: Element Web Integration Tests name: Element Web Integration Tests
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with: