File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,12 @@ jobs:
28
28
race : ["-race", ""]
29
29
criu : ["", "criu-dev"]
30
30
exclude :
31
- - criu : " criu-dev"
32
- rootless : " rootless"
33
- os : " ubuntu-22.04"
34
- go-version : " 1.20.x"
31
+ - criu : criu-dev
32
+ rootless : rootless
33
+ - criu : criu-dev
34
+ go-version : 1.19.x
35
+ - criu : criu-dev
36
+ race : -race
35
37
runs-on : ${{ matrix.os }}
36
38
37
39
steps :
65
67
- name : install go ${{ matrix.go-version }}
66
68
uses : actions/setup-go@v4
67
69
with :
70
+ cache : false # https://github.com/actions/setup-go/issues/368
68
71
go-version : ${{ matrix.go-version }}
69
72
70
73
- name : build
@@ -84,12 +87,12 @@ jobs:
84
87
run : |
85
88
sudo useradd -u2000 -m -d/home/rootless -s/bin/bash rootless
86
89
# Allow root and rootless itself to execute `ssh rootless@localhost` in tests/rootless.sh
87
- ls -l $GITHUB_WORKSPACE/tests
88
90
ssh-keygen -t ecdsa -N "" -f $HOME/rootless.key
89
91
sudo mkdir -m 0700 -p /home/rootless/.ssh
90
92
sudo cp $HOME/rootless.key /home/rootless/.ssh/id_ecdsa
91
93
sudo cp $HOME/rootless.key.pub /home/rootless/.ssh/authorized_keys
92
94
sudo chown -R rootless.rootless /home/rootless
95
+ sudo chmod a+X /home/runner # for Ubuntu 22.04
93
96
94
97
- name : integration test (fs driver)
95
98
run : sudo -E PATH="$PATH" script -e -c 'make local${{ matrix.rootless }}integration'
You can’t perform that action at this time.
0 commit comments