Skip to content

Commit 9c0ce65

Browse files
committed
Upgrade to Ubuntu 22.04
1 parent 50047c8 commit 9c0ce65

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
uses: ./.github/workflows/dep-matrix
3535

3636
check-matrix:
37-
runs-on: ubuntu-18.04
37+
runs-on: ubuntu-22.04
3838
needs: matrix
3939

4040
name: Check deps
@@ -52,7 +52,7 @@ jobs:
5252
echo $matrix | json2yaml
5353
5454
R-CMD-check-base:
55-
runs-on: ubuntu-18.04
55+
runs-on: ubuntu-22.04
5656

5757
name: base
5858

@@ -99,7 +99,7 @@ jobs:
9999
- matrix
100100
- R-CMD-check-base
101101

102-
runs-on: ubuntu-18.04
102+
runs-on: ubuntu-22.04
103103

104104
name: ${{ matrix.package }}
105105

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -184,20 +184,20 @@ jobs:
184184
- {os: ubuntu-20.04, r: 'release'}
185185

186186
# Use older ubuntu to maximise backward compatibility
187-
- {os: ubuntu-18.04, r: 'devel', http-user-agent: 'release'}
188-
- {os: ubuntu-18.04, r: 'release', covr: true, desc: 'with covr'}
189-
- {os: ubuntu-18.04, r: 'oldrel-1'}
187+
- {os: ubuntu-22.04, r: 'devel', http-user-agent: 'release'}
188+
- {os: ubuntu-22.04, r: 'release', covr: true, desc: 'with covr'}
189+
- {os: ubuntu-22.04, r: 'oldrel-1'}
190190

191191
# Begin custom: R 3.6
192-
- {os: ubuntu-18.04, r: 'oldrel-2'}
192+
- {os: ubuntu-22.04, r: 'oldrel-2'}
193193
# End custom: R 3.6
194194

195195
# Begin custom: R 3.5
196-
- {os: ubuntu-18.04, r: 'oldrel-3'}
196+
- {os: ubuntu-22.04, r: 'oldrel-3'}
197197
# End custom: R 3.5
198198

199199
# Begin custom: R 3.4
200-
- {os: ubuntu-18.04, r: 'oldrel-4'}
200+
- {os: ubuntu-22.04, r: 'oldrel-4'}
201201
# End custom: R 3.4
202202

203203
# Begin custom: matrix elements

.github/workflows/revdep.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name: revdep
88

99
jobs:
1010
matrix:
11-
runs-on: ubuntu-18.04
11+
runs-on: ubuntu-22.04
1212
outputs:
1313
matrix: ${{ steps.set-matrix.outputs.matrix }}
1414

@@ -48,7 +48,7 @@ jobs:
4848
shell: Rscript {0}
4949

5050
check-matrix:
51-
runs-on: ubuntu-18.04
51+
runs-on: ubuntu-22.04
5252
needs: matrix
5353
steps:
5454
- name: Install json2yaml
@@ -65,7 +65,7 @@ jobs:
6565
R-CMD-check:
6666
needs: matrix
6767

68-
runs-on: ubuntu-18.04
68+
runs-on: ubuntu-22.04
6969

7070
name: ${{ matrix.package }}
7171

@@ -113,7 +113,7 @@ jobs:
113113
if: runner.os == 'Linux'
114114
run: |
115115
sudo apt-get update -y
116-
Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "18.04")); package <- "${{ matrix.package }}"; deps <- tools::package_dependencies(package, which = "Suggests")[[1]]; lapply(c(package, deps), function(x) { writeLines(remotes::system_requirements("ubuntu", "18.04", package = x)) })' | sort | uniq > .github/deps.sh
116+
Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "22.04")); package <- "${{ matrix.package }}"; deps <- tools::package_dependencies(package, which = "Suggests")[[1]]; lapply(c(package, deps), function(x) { writeLines(remotes::system_requirements("ubuntu", "22.04", package = x)) })' | sort | uniq > .github/deps.sh
117117
cat .github/deps.sh
118118
sudo sh < .github/deps.sh
119119

0 commit comments

Comments
 (0)