Go back to Ubuntu latest for GHA

https://github.com/element-hq/matrix-react-sdk/pull/149 ported to
element-web repo
dbkr/back_to_ubuntu_latest
David Baker 2024-10-16 14:37:59 +01:00
parent 3b75e2a3fb
commit 9513920cd7
8 changed files with 11 additions and 11 deletions

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-22.04 runs-on: ubuntu-latest
environment: Netlify environment: Netlify
permissions: permissions:
statuses: write statuses: write

View File

@ -36,7 +36,7 @@ env:
jobs: jobs:
build: build:
name: "Build Element-Web" name: "Build Element-Web"
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
if: inputs.skip != true if: inputs.skip != true
steps: steps:
- name: Checkout code - name: Checkout code
@ -82,7 +82,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-22.04 runs-on: ubuntu-latest
permissions: permissions:
actions: read actions: read
issues: read issues: read
@ -144,7 +144,7 @@ jobs:
name: end-to-end-tests name: end-to-end-tests
needs: playwright needs: playwright
if: always() if: always()
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
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-22.04 runs-on: ubuntu-latest
environment: Netlify environment: Netlify
steps: steps:
- name: 📝 Create Deployment - name: 📝 Create Deployment

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-22.04 runs-on: ubuntu-latest
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-22.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/github-script@v7 - uses: actions/github-script@v7
with: with:

View File

@ -71,7 +71,7 @@ jobs:
rethemendex_lint: rethemendex_lint:
name: "Rethemendex Check" name: "Rethemendex Check"
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
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-22.04 runs-on: ubuntu-latest
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-22.04 runs-on: ubuntu-latest
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

View File

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/playwright:v1.48.0-jammy FROM mcr.microsoft.com/playwright:v1.47.1-noble
WORKDIR /work WORKDIR /work