File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,12 +38,16 @@ jobs:
3838 # ubuntu-20.04 is the last version that supported python3.6
3939 # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4040 os : [ubuntu-22.04]
41- # Use Docker container for Python 3.6 and 3.8
42- container : ${{ (matrix.python-version == '3.6' || matrix.python-version == '3.8') && format('python:{0}', matrix.python-version) || null }}
41+ services :
42+ docker :
43+ image : docker:dind # Required for Docker network management
44+ options : --privileged # Required for Docker-in-Docker operations
45+ # Use Docker container only for Python 3.6
46+ container : ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
4347 steps :
4448 - uses : actions/checkout@v6.0.2
4549 - uses : actions/setup-python@v6
46- if : ${{ matrix.python-version != '3.6' && matrix.python-version != '3.8' }}
50+ if : ${{ matrix.python-version != '3.6' }}
4751 with :
4852 python-version : ${{ matrix.python-version }}
4953 allow-prereleases : true
You can’t perform that action at this time.
0 commit comments