@@ -15,15 +15,15 @@ jobs:
15
15
#
16
16
project :
17
17
name : Project Checks
18
- runs-on : ubuntu-18 .04
18
+ runs-on : ubuntu-22 .04
19
19
timeout-minutes : 5
20
20
21
21
steps :
22
22
#
23
23
# Install Go
24
24
#
25
25
- name : Install Go
26
- uses : actions/setup-go@v2
26
+ uses : actions/setup-go@v3
27
27
with :
28
28
go-version : ' 1.19.x'
29
29
@@ -37,13 +37,13 @@ jobs:
37
37
# Checkout repos
38
38
#
39
39
- name : Checkout cgroups
40
- uses : actions/checkout@v2
40
+ uses : actions/checkout@v3
41
41
with :
42
42
path : src/github.com/containerd/cgroups
43
43
fetch-depth : 25
44
44
45
45
- name : Checkout common project repo
46
- uses : actions/checkout@v2
46
+ uses : actions/checkout@v3
47
47
with :
48
48
repository : containerd/project
49
49
path : src/github.com/containerd/project
@@ -87,12 +87,13 @@ jobs:
87
87
88
88
strategy :
89
89
matrix :
90
- os : [ubuntu-18.04, ubuntu-22.04]
90
+ # Ubuntu-20.04 has cgroups v1 default; Ubuntu-22.04 has cgroups v2 default.
91
+ os : [ubuntu-20.04, ubuntu-22.04]
91
92
92
93
runs-on : ${{ matrix.os }}
93
94
steps :
94
95
- name : Install Go
95
- uses : actions/setup-go@v2
96
+ uses : actions/setup-go@v3
96
97
with :
97
98
go-version : ' 1.19.x'
98
99
@@ -103,7 +104,7 @@ jobs:
103
104
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
104
105
105
106
- name : Checkout cgroups
106
- uses : actions/checkout@v2
107
+ uses : actions/checkout@v3
107
108
with :
108
109
path : src/github.com/containerd/cgroups
109
110
0 commit comments