9
9
- main
10
10
11
11
jobs :
12
- build-1 :
12
+ build-docker-24 :
13
13
runs-on : ubuntu-20.04
14
14
strategy :
15
15
fail-fast : false
16
16
matrix :
17
17
python-version : ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
18
18
steps :
19
- - uses : actions/checkout@v3
19
+ - uses : actions/checkout@v4
20
20
- name : Set up Python ${{ matrix.python-version }}
21
- uses : actions/setup-python@v4
21
+ uses : actions/setup-python@v5
22
22
with :
23
23
python-version : ${{ matrix.python-version }}
24
24
- name : Setup
25
25
run : |
26
26
sudo apt-get update
27
- pip install -U pip
28
- pip install "tox<4.0.0"
27
+ pip install "tox<4.0.0" setuptools
29
28
- name : Info
30
29
run : |
31
30
docker version
@@ -35,29 +34,27 @@ jobs:
35
34
PV=${{ matrix.python-version }}
36
35
echo "Running tests for Python version $PV ( ${PV/./} )"
37
36
make test-py"${PV/./}"
38
- build-2 :
37
+ build-docker-25 :
39
38
runs-on : ubuntu-20.04
40
39
strategy :
41
40
fail-fast : false
42
41
matrix :
43
42
python-version : ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
44
43
steps :
45
- - uses : actions/checkout@v3
44
+ - uses : actions/checkout@v4
46
45
- name : Set up Python ${{ matrix.python-version }}
47
- uses : actions/setup-python@v4
46
+ uses : actions/setup-python@v5
48
47
with :
49
48
python-version : ${{ matrix.python-version }}
50
49
- name : Setup
51
50
run : |
52
51
for pkg in containerd runc; do sudo apt-get remove $pkg; done
53
52
sudo apt-get update
54
- sudo apt-get install ca-certificates curl
55
- sudo install -m 0755 -d /etc/apt/keyrings
56
- sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
57
- sudo chmod a+r /etc/apt/keyrings/docker.asc
58
- sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
59
- pip install -U pip
60
- pip install "tox<4.0.0"
53
+ sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
54
+ sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable"
55
+ apt-cache policy docker-ce
56
+ sudo apt-get install docker-ce docker-ce-cli containerd.io
57
+ pip install "tox<4.0.0" setuptools
61
58
- name : Info
62
59
run : |
63
60
docker version
0 commit comments