Skip to content

Commit

Permalink
ci: use ubuntu-24.04 (#3248)
Browse files Browse the repository at this point in the history
  • Loading branch information
csouchet authored Jan 20, 2025
1 parent 3bb2347 commit 2f46d92
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
matrix:
# syntax inspired from https://github.community/t5/GitHub-Actions/Using-a-matrix-defined-input-for-a-custom-action/m-p/32032/highlight/true#M988
os:
- { name: ubuntu-22.04, coverage: '-- --coverage' }
- { name: ubuntu-24.04, coverage: '-- --coverage' }
- { name: macos-13 }
- { name: windows-2022 }
permissions:
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-22.04
runs-on: ubuntu-24.04
permissions:
# required for all workflows by github/codeql-action
security-events: write
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-22.04
runs-on: ubuntu-24.04
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fill-gh-draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
update_release_draft:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
# To create or update releases
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-demo-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ on:

jobs:
demo_preview: # keep unique across jobs using surge preview (preview url and PR comment id)
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
pull-requests: write # surge-preview: PR comments
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ on:
jobs:
doc_preview: # keep unique across jobs using surge preview (preview url and PR comment id)
if: github.event_name == 'pull_request'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
pull-requests: write # surge-preview: PR comments
steps:
Expand All @@ -51,7 +51,7 @@ jobs:

generate_doc:
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.event.ref == 'refs/heads/master'
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Build Setup
Expand All @@ -66,7 +66,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-22.04
runs-on: ubuntu-24.04
needs: generate_doc
permissions:
contents: write # Push to gh-pages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notify-new-version-available-on-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
# another repository is notified in 'upload-demo-archive-and-trigger-examples-repository-update.yml'
jobs:
notify:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
VERSION: ${{ github.event.client_payload.version || inputs.version }}
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-metadata-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
pr-title:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
pull-requests: write # post comments when the PR title doesn't match the "Conventional Commits" rules
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- v*
jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
id-token: write
contents: write # required to get token for "npm provenance" and to dispatch event
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
default: 'patch'
jobs:
bumpVersion:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- run: |
echo "New version type: ${{ inputs.type }}"
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 @@ -54,7 +54,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-13, ubuntu-22.04, windows-2022]
os: [macos-13, ubuntu-24.04, windows-2022]
browser: [chromium, firefox, chrome]
include:
# only test WebKit on macOS
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ on:

jobs:
build_and_test_npm_package:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
test-bundles-browser: chromium
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-performance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# triggerUncaughtException(err, true /* fromPromise */);
# ^
# cdpSession.detach: Browser closed.
os: [macos-13, ubuntu-22.04]
os: [macos-13, ubuntu-24.04]
env:
# Performance tests rely on chromium API
browser: chromium
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
upload_demo_archive:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
env:
VERSION: ${{ github.event.client_payload.version || inputs.version }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/diagram.navigation.fit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const bpmnDiagramNames = getBpmnDiagramNames(diagramSubfolder);

class ImageSnapshotThresholds extends MultiBrowserImageSnapshotThresholds {
constructor() {
super({ chromium: 0.006 / 100, firefox: 0.042 / 100, webkit: 0.058 / 100 });
super({ chromium: 0.0096 / 100, firefox: 0.042 / 100, webkit: 0.058 / 100 });
}
protected override getChromiumThresholds(): Map<string, ImageSnapshotThresholdConfig> {
// if no dedicated information, set minimal threshold to make test pass on GitHub Workflow
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/style.api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class StyleImageSnapshotThresholds extends MultiBrowserImageSnapshotThresholds {
[
'font.color.opacity',
{
linux: 0.12 / 100, // 0.1155614505197633%
linux: 0.13 / 100, // 0.12152253986267292%
windows: 0.12 / 100, // 0.11000117996341485%
},
],
Expand Down

0 comments on commit 2f46d92

Please sign in to comment.