Skip to content

Commit 1371bd3

Browse files
committed
Update ubuntu-20.04 runners to latest in GitHub Actions pipelines
Fixes #714
1 parent 3483ffb commit 1371bd3

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/pull-request-check.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212
strategy:
1313
fail-fast: true
1414
matrix:
15-
os: [windows-latest, ubuntu-20.04, macos-13]
15+
os: [windows-latest, ubuntu-latest, macos-13]
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
1919
with:
2020
submodules: recursive
2121

2222
- name: Check code style
23-
if: matrix.os == 'ubuntu-20.04'
23+
if: matrix.os == 'ubuntu-latest'
2424
uses: dbelyaev/action-checkstyle@e89baf0f8b488b946345b7de8e975be1e3606387 # v1.5.6
2525
with:
2626
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -59,7 +59,7 @@ jobs:
5959
disk-root: "C:"
6060

6161
- name: Set Swap Space (Linux)
62-
if: matrix.os == 'ubuntu-20.04'
62+
if: matrix.os == 'ubuntu-latest'
6363
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # master
6464
with:
6565
swap-size-gb: 12
@@ -120,14 +120,14 @@ jobs:
120120
overwrite-settings: false
121121

122122
- name: Test executable jar on Temurin
123-
if: matrix.os == 'ubuntu-20.04'
123+
if: matrix.os == 'ubuntu-latest'
124124
run: |
125125
cd tools/samm-cli
126126
mvn -B -Denforcer.skip -Dskip.maven.surefire failsafe:integration-test -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
127127
128128
- name: Upload executable jar
129129
# We only need one OS job to upload the jar
130-
if: matrix.os == 'ubuntu-20.04'
130+
if: matrix.os == 'ubuntu-latest'
131131
uses: actions/upload-artifact@v4
132132
with:
133133
name: samm-cli-jar
@@ -145,7 +145,7 @@ jobs:
145145
tools/samm-cli/target/lib/
146146
147147
- name: Upload binary (Linux)
148-
if: matrix.os == 'ubuntu-20.04'
148+
if: matrix.os == 'ubuntu-latest'
149149
uses: actions/upload-artifact@v4
150150
with:
151151
name: samm-cli-binary-${{ matrix.os }}

.github/workflows/release-workflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
check-preconditions:
1010
name: Check preconditions
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v4
@@ -48,7 +48,7 @@ jobs:
4848
build-linux:
4949
name: Linux build
5050
needs: [check-preconditions]
51-
runs-on: ubuntu-20.04
51+
runs-on: ubuntu-latest
5252
steps:
5353
- name: Checkout
5454
uses: actions/checkout@v4

0 commit comments

Comments
 (0)