Skip to content

Commit 5787f3e

Browse files
CI: Update deprecated GH Actions runner image ubuntu-20.4 to 22.04.
1 parent d159aba commit 5787f3e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,13 @@ jobs:
1010
build-microbit-v2-samples:
1111
strategy:
1212
matrix:
13-
os: [ubuntu-20.04, macos-13, windows-2019]
13+
os: [ubuntu-22.04, macos-13, windows-2019]
1414
gcc: ['6-2016-q4', 'latest'] # Min version 6.2 as used in pext/yotta:latest docker image
1515
cmake: ['3.6.0', ''] # Empty string installs the latest CMake release
16+
exclude:
17+
# This old version of CMake doesn't run un Ubuntu 22.04
18+
- os: ubuntu-22.04
19+
cmake: '3.6.0'
1620
fail-fast: false
1721
runs-on: ${{ matrix.os }}
1822
name: ${{ matrix.os }}, gcc ${{ matrix.gcc }}, cmake ${{ matrix.cmake || 'latest'}}

.github/workflows/on-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
cppcheck:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
name: Build against Ubuntu-20.04 for release assets
1212
steps:
1313
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)