Skip to content

Commit 3cc8ff5

Browse files
committed
GitHub: upgrade runner to ubuntu-22.04
1 parent 3252013 commit 3cc8ff5

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -94,28 +94,28 @@ jobs:
9494
matrix:
9595
include:
9696
- clang: "3.9"
97-
runner: ubuntu-20.04
97+
runner: ubuntu-22.04
9898
archive: bionic
9999
- clang: "4.0"
100-
runner: ubuntu-20.04
100+
runner: ubuntu-22.04
101101
archive: bionic
102102
- clang: "5.0"
103-
runner: ubuntu-20.04
103+
runner: ubuntu-22.04
104104
archive: bionic
105105
- clang: "6.0"
106-
runner: ubuntu-20.04
106+
runner: ubuntu-22.04
107107
archive: bionic
108108
- clang: "7"
109-
runner: ubuntu-20.04
109+
runner: ubuntu-22.04
110110
- clang: "8"
111111
cxxflags: -fsanitize=leak -fno-sanitize-recover=all
112-
runner: ubuntu-20.04
112+
runner: ubuntu-22.04
113113
- clang: "9"
114114
cxxflags: -fsanitize=undefined -fno-sanitize-recover=all
115-
runner: ubuntu-20.04
115+
runner: ubuntu-22.04
116116
- clang: "10"
117117
cxxflags: -fsanitize=address -fno-sanitize-recover=all
118-
runner: ubuntu-20.04
118+
runner: ubuntu-22.04
119119
- clang: "11"
120120
runner: ubuntu-22.04
121121
- clang: "12"
@@ -141,7 +141,7 @@ jobs:
141141
if: matrix.clang >= 11
142142
run: sudo apt-get install -y libc++-${{ matrix.clang }}-dev libc++abi-${{ matrix.clang }}-dev
143143
- name: Install libunwind ${{ matrix.clang }}
144-
if: matrix.clang == 12 # dependency is missing in Ubuntu 22.04
144+
if: matrix.clang == 12 # dependency is missing in Ubuntu 22.04
145145
run: sudo apt-get install -y libunwind-${{ matrix.clang }}-dev
146146
- name: Checkout
147147
uses: actions/checkout@v4
@@ -163,7 +163,7 @@ jobs:
163163
conf_test:
164164
name: Test configuration on Linux
165165
needs: [gcc, clang]
166-
runs-on: ubuntu-20.04
166+
runs-on: ubuntu-22.04
167167
steps:
168168
- name: Install
169169
run: |
@@ -257,7 +257,7 @@ jobs:
257257
board: arduino:avr:uno
258258
- core: arduino:samd
259259
board: arduino:samd:mkr1000
260-
runs-on: ubuntu-20.04
260+
runs-on: ubuntu-22.04
261261
steps:
262262
- name: Checkout
263263
uses: actions/checkout@v4
@@ -412,7 +412,7 @@ jobs:
412412
arm:
413413
name: GCC for ARM processor
414414
needs: gcc
415-
runs-on: ubuntu-20.04
415+
runs-on: ubuntu-22.04
416416
steps:
417417
- name: Install
418418
run: |
@@ -431,7 +431,7 @@ jobs:
431431
coverage:
432432
needs: gcc
433433
name: Coverage
434-
runs-on: ubuntu-20.04
434+
runs-on: ubuntu-22.04
435435
steps:
436436
- name: Install
437437
run: sudo apt-get install -y lcov ninja-build
@@ -463,7 +463,7 @@ jobs:
463463
valgrind:
464464
needs: gcc
465465
name: Valgrind
466-
runs-on: ubuntu-20.04
466+
runs-on: ubuntu-22.04
467467
steps:
468468
- name: Install
469469
run: |
@@ -485,7 +485,7 @@ jobs:
485485
clang-tidy:
486486
needs: clang
487487
name: Clang-Tidy
488-
runs-on: ubuntu-20.04
488+
runs-on: ubuntu-22.04
489489
steps:
490490
- name: Install
491491
run: sudo apt-get install -y clang-tidy cmake ninja-build
@@ -502,7 +502,7 @@ jobs:
502502
amalgamate:
503503
needs: gcc
504504
name: Amalgamate ArduinoJson.h
505-
runs-on: ubuntu-20.04
505+
runs-on: ubuntu-22.04
506506
steps:
507507
- name: Checkout
508508
uses: actions/checkout@v4
@@ -578,7 +578,7 @@ jobs:
578578
579579
codeql:
580580
name: CodeQL
581-
runs-on: ubuntu-20.04
581+
runs-on: ubuntu-22.04
582582
needs: gcc
583583

584584
permissions:
@@ -587,20 +587,20 @@ jobs:
587587
security-events: write
588588

589589
steps:
590-
- name: Checkout repository
591-
uses: actions/checkout@v4
590+
- name: Checkout repository
591+
uses: actions/checkout@v4
592592

593-
- name: Initialize CodeQL
594-
uses: github/codeql-action/init@v3
595-
with:
596-
languages: cpp
593+
- name: Initialize CodeQL
594+
uses: github/codeql-action/init@v3
595+
with:
596+
languages: cpp
597597

598-
- name: Build
599-
run: |
600-
cmake -DCMAKE_BUILD_TYPE=Debug .
601-
cmake --build .
598+
- name: Build
599+
run: |
600+
cmake -DCMAKE_BUILD_TYPE=Debug .
601+
cmake --build .
602602
603-
- name: Perform CodeQL Analysis
604-
uses: github/codeql-action/analyze@v3
605-
with:
606-
category: "/language:cpp"
603+
- name: Perform CodeQL Analysis
604+
uses: github/codeql-action/analyze@v3
605+
with:
606+
category: "/language:cpp"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
release:
1010
name: Create release
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- name: Set variables
1414
id: init

0 commit comments

Comments
 (0)