Skip to content

Commit

Permalink
Upgrade unbuntu image to 22.04 in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta committed Feb 19, 2025
1 parent 2d317b3 commit fabdaf0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:

jobs:
create-tag:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: release
outputs:
version: ${{ steps.create-tag.outputs.version }}
Expand All @@ -57,7 +57,7 @@ jobs:
strategy:
matrix:
moduleSet: [ core, integrations, others ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 30
environment: release
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ concurrency:

jobs:
get-version:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
environment: release
outputs:
version: ${{ steps.get-version.outputs.version }}
Expand All @@ -57,7 +57,7 @@ jobs:
strategy:
matrix:
moduleSet: [ core, integrations, others ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
timeout-minutes: 30
environment: release
steps:
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ concurrency:
jobs:
copyright:
timeout-minutes: 5
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -57,7 +57,7 @@ jobs:
run: etc/scripts/copyright.sh
checkstyle:
timeout-minutes: 5
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -67,7 +67,7 @@ jobs:
run: etc/scripts/checkstyle.sh
shellcheck:
timeout-minutes: 5
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -78,7 +78,7 @@ jobs:
run: etc/scripts/shellcheck.sh
build:
timeout-minutes: 15
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -99,10 +99,10 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04 ]
os: [ ubuntu-22.04 ]
moduleSet: [ core, it, dbclient, dbclient-oracle, others ]
include:
- { os: ubuntu-20.04, platform: linux }
- { os: ubuntu-22.04, platform: linux }
runs-on: ${{ matrix.os }}
name: tests/${{ matrix.moduleSet }}
steps:
Expand All @@ -125,7 +125,7 @@ jobs:
strategy:
matrix:
moduleSet: [ cdi, rest, others ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: tests/tck-${{ matrix.moduleSet }}
steps:
- uses: actions/checkout@v4
Expand All @@ -146,7 +146,7 @@ jobs:
strategy:
matrix:
moduleSet: [ core, integrations, others ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: spotbugs/${{ matrix.moduleSet }}
steps:
- uses: actions/checkout@v4
Expand All @@ -169,7 +169,7 @@ jobs:
strategy:
matrix:
moduleSet: [ core, integrations, others ]
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -193,7 +193,7 @@ jobs:
docs:
needs: build
timeout-minutes: 15
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -216,9 +216,9 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04, macos-14 ]
os: [ ubuntu-22.04, macos-14 ]
include:
- { os: ubuntu-20.04, platform: linux }
- { os: ubuntu-22.04, platform: linux }
- { os: macos-14, platform: macos }
runs-on: ${{ matrix.os }}
name: quickstarts/${{ matrix.platform }}
Expand All @@ -239,9 +239,9 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04, macos-14 ]
os: [ ubuntu-22.04, macos-14 ]
include:
- { os: ubuntu-20.04, platform: linux }
- { os: ubuntu-22.04, platform: linux }
- { os: macos-14, platform: macos }
runs-on: ${{ matrix.os }}
name: examples/${{ matrix.platform }}
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
- { group: r4, start: 75, end: 100 }
- { group: r5, start: 101, end: -1 }
- { packaging: jar }
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: archetypes/${{ matrix.group }}-${{ matrix.packaging }}
steps:
- uses: actions/checkout@v4
Expand All @@ -291,7 +291,7 @@ jobs:
legacy-archetypes:
needs: build
timeout-minutes: 30
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: archetypes/legacy
steps:
- uses: actions/checkout@v4
Expand All @@ -311,10 +311,10 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04, macos-14 ]
os: [ ubuntu-22.04, macos-14 ]
packaging: [ jar, jlink ]
include:
- { os: ubuntu-20.04, platform: linux }
- { os: ubuntu-22.04, platform: linux }
- { os: macos-14, platform: macos }
runs-on: ${{ matrix.os }}
name: tests/packaging-${{ matrix.packaging }}-${{ matrix.platform }}
Expand All @@ -337,10 +337,10 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
os: [ ubuntu-20.04, macos-14 ]
os: [ ubuntu-22.04, macos-14 ]
module: [ mp-1, mp-2, mp-3, se-1 ]
include:
- { os: ubuntu-20.04, platform: linux }
- { os: ubuntu-22.04, platform: linux }
- { os: macos-14, platform: macos }
runs-on: ${{ matrix.os }}
name: tests/native-image-${{ matrix.module }}-${{ matrix.platform }}
Expand All @@ -362,7 +362,7 @@ jobs:
-am \
verify
test-results:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [ _tests, archetypes, legacy-archetypes, _tck, packaging, _native-image ]
name: tests/results
steps:
Expand All @@ -371,7 +371,7 @@ jobs:
name: test-results
pattern: "tests-*"
gate:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [ copyright, checkstyle, shellcheck, docs, javadoc, _spotbugs, test-results ]
steps:
- shell: bash
Expand Down

0 comments on commit fabdaf0

Please sign in to comment.