Skip to content

Commit 05c888b

Browse files
authored
Forced move from Ubuntu 20 to 22 (#451)
* Forced move from Ubuntu 20 to 22 GitHub Actions is removing this old runner * Seems like `clang-format-12` goes with Ubuntu 22
1 parent 21269ea commit 05c888b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/R-CMD-check.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232
- {os: windows-latest, r: '4.1'}
3333

3434
# Use older ubuntu to maximise backward compatibility
35-
- {os: ubuntu-20.04, r: 'devel', http-user-agent: 'release'}
36-
- {os: ubuntu-20.04, r: 'release'}
37-
- {os: ubuntu-20.04, r: 'release', custom: 'no-cpp11test'}
38-
- {os: ubuntu-20.04, r: 'oldrel-1'}
39-
- {os: ubuntu-20.04, r: 'oldrel-2'}
40-
- {os: ubuntu-20.04, r: 'oldrel-3'}
41-
- {os: ubuntu-20.04, r: 'oldrel-4'}
35+
- {os: ubuntu-22.04, r: 'devel', http-user-agent: 'release'}
36+
- {os: ubuntu-22.04, r: 'release'}
37+
- {os: ubuntu-22.04, r: 'release', custom: 'no-cpp11test'}
38+
- {os: ubuntu-22.04, r: 'oldrel-1'}
39+
- {os: ubuntu-22.04, r: 'oldrel-2'}
40+
- {os: ubuntu-22.04, r: 'oldrel-3'}
41+
- {os: ubuntu-22.04, r: 'oldrel-4'}
4242

4343
env:
4444
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/format.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ name: format_check
99

1010
jobs:
1111
format_check:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- uses: actions/checkout@v2
1515

1616
- name: Install ClangFormat
17-
run: sudo apt-get install -y clang-format-10
17+
run: sudo apt-get install -y clang-format-12
1818

1919
- name: Run ClangFormat
20-
run: make format clang_format=clang-format-10
20+
run: make format clang_format=clang-format-12
2121

2222
- name: Check for a non-empty diff
2323
run: git diff-files -U --exit-code

0 commit comments

Comments
 (0)