5555 # Project checks
5656 #
5757 project :
58- name : Project
58+ name : Project Checks
5959 runs-on : ubuntu-18.04
6060 timeout-minutes : 5
6161
@@ -140,18 +140,21 @@ jobs:
140140 with :
141141 go-version : ' 1.13.9'
142142
143+ - name : Set env
144+ shell : bash
145+ run : |
146+ echo "::set-env name=GOPATH::${{ github.workspace }}"
147+ echo "::add-path::${{ github.workspace }}/bin"
148+
143149 - name : Checkout
144- uses : actions/checkout@v1
145- env :
146- GOPATH : ${{ runner.workspace }}
147- GO111MODULE : off
150+ uses : actions/checkout@v2
148151 with :
149- path : ./ src/github.com/containerd/containerd
152+ path : src/github.com/containerd/containerd
150153
151154 - name : Install protobuf
152155 env :
153- GOPATH : ${{ runner.workspace }}
154156 GO111MODULE : off
157+ working-directory : src/github.com/containerd/containerd
155158 run : |
156159 sudo env PATH=$PATH GOPATH=$GOPATH script/setup/install-protobuf
157160 sudo chmod +x /usr/local/bin/protoc
@@ -161,27 +164,26 @@ jobs:
161164
162165 - name : Go get gogo
163166 env :
164- GOPATH : ${{ runner.workspace }}
165167 GO111MODULE : off
166168 # Get proto files, ignore "package github.com/gogo/googleapis: no Go files in ~/go/src/github.com/gogo/googleapis"
167169 run : go get -u github.com/gogo/googleapis || true
168170
169171 - name : Install dev tools
170172 env :
171- GOPATH : ${{ runner.workspace }}
172173 GO111MODULE : off
173174 run : script/setup/install-dev-tools
175+ working-directory : src/github.com/containerd/containerd
174176
175177 - name : Make
176178 env :
177- GOPATH : ${{ runner.workspace }}
178179 GO111MODULE : off
180+ working-directory : src/github.com/containerd/containerd
179181 run : |
180182 export PATH=$PATH:$(go env GOPATH)/bin
181183 make check-protos check-api-descriptors
182184
183185 man :
184- name : Mans
186+ name : Manpages
185187 runs-on : ubuntu-18.04
186188 timeout-minutes : 5
187189
@@ -256,7 +258,7 @@ jobs:
256258 integration :
257259 name : Integration
258260 runs-on : ubuntu-18.04
259- timeout-minutes : 10
261+ timeout-minutes : 15
260262 needs : [project, linters, protos, man]
261263
262264 strategy :
0 commit comments