@@ -15,15 +15,15 @@ jobs:
1515 #
1616 project :
1717 name : Project Checks
18- runs-on : ubuntu-18 .04
18+ runs-on : ubuntu-22 .04
1919 timeout-minutes : 5
2020
2121 steps :
2222 #
2323 # Install Go
2424 #
2525 - name : Install Go
26- uses : actions/setup-go@v2
26+ uses : actions/setup-go@v3
2727 with :
2828 go-version : ' 1.19.x'
2929
@@ -37,13 +37,13 @@ jobs:
3737 # Checkout repos
3838 #
3939 - name : Checkout cgroups
40- uses : actions/checkout@v2
40+ uses : actions/checkout@v3
4141 with :
4242 path : src/github.com/containerd/cgroups
4343 fetch-depth : 25
4444
4545 - name : Checkout common project repo
46- uses : actions/checkout@v2
46+ uses : actions/checkout@v3
4747 with :
4848 repository : containerd/project
4949 path : src/github.com/containerd/project
@@ -87,12 +87,13 @@ jobs:
8787
8888 strategy :
8989 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]
9192
9293 runs-on : ${{ matrix.os }}
9394 steps :
9495 - name : Install Go
95- uses : actions/setup-go@v2
96+ uses : actions/setup-go@v3
9697 with :
9798 go-version : ' 1.19.x'
9899
@@ -103,7 +104,7 @@ jobs:
103104 echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
104105
105106 - name : Checkout cgroups
106- uses : actions/checkout@v2
107+ uses : actions/checkout@v3
107108 with :
108109 path : src/github.com/containerd/cgroups
109110
0 commit comments