@@ -415,32 +415,28 @@ jobs:
415415 - name : Install containerd dependencies
416416 env :
417417 RUNC_FLAVOR : ${{ matrix.runc }}
418- GOFLAGS : -modcacherw
419418 run : |
420419 sudo apt-get install -y gperf
421- sudo -E PATH=$PATH script/setup/install-seccomp
422- sudo -E PATH=$PATH script/setup/install-runc
423- sudo -E PATH=$PATH script/setup/install-cni $(grep containernetworking/plugins go.mod | awk '{print $2}')
424- sudo -E PATH=$PATH script/setup/install-critools
420+ script/setup/install-seccomp
421+ script/setup/install-runc
422+ script/setup/install-cni $(grep containernetworking/plugins go.mod | awk '{print $2}')
423+ script/setup/install-critools
424+ script/setup/install-failpoint-binaries
425425
426426 - name : Install criu
427427 run : |
428428 sudo add-apt-repository ppa:criu/ppa
429429 sudo apt-get update
430430 sudo apt-get install -y criu
431431
432- - name : Install failpoint binaries
433- run : |
434- script/setup/install-failpoint-binaries
435-
436432 - name : Install containerd
437433 env :
438434 CGO_ENABLED : 1
439435 run : |
440436 make binaries GO_BUILD_FLAGS="-mod=vendor"
441437 sudo -E PATH=$PATH make install
442438
443- - run : sudo -E PATH=$PATH script/setup/install-gotestsum
439+ - run : script/setup/install-gotestsum
444440 - name : Tests
445441 env :
446442 GOPROXY : direct
@@ -540,7 +536,7 @@ jobs:
540536 with :
541537 go-version : ${{ env.GO_VERSION }}
542538 - uses : actions/checkout@v2
543- - run : sudo -E PATH=$PATH script/setup/install-gotestsum
539+ - run : script/setup/install-gotestsum
544540 - name : Tests
545541 env :
546542 GOPROXY : direct
0 commit comments