@@ -37,27 +37,31 @@ jobs:
3737 - uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
3838
3939 build :
40- name : " build ${{ matrix.name-prefix }} (py ${{ matrix.python-version }} on ${{ matrix.os }}, x64=${{ matrix.enable-x64}})"
41- runs-on : ${{ matrix.os }}
40+ name : " build ${{ matrix.name-prefix }} (py ${{ matrix.python-version }} on ubuntu-20.04, x64=${{ matrix.enable-x64}})"
41+ runs-on : linux-x86-n2-32
42+ container :
43+ image : index.docker.io/library/ubuntu@sha256:6d8d9799fe6ab3221965efac00b4c34a2bcc102c086a58dff9e19a08b913c7ef # ratchet:ubuntu:20.04
4244 timeout-minutes : 60
4345 strategy :
4446 matrix :
4547 # Test the oldest and newest supported Python versions here.
4648 include :
4749 - name-prefix : " with 3.10"
4850 python-version : " 3.10"
49- os : ubuntu-20.04-16core
5051 enable-x64 : 1
5152 prng-upgrade : 1
5253 num_generated_cases : 1
53- - name-prefix : " with 3.12"
54- python-version : " 3.12"
55- os : ubuntu-20.04-16core
54+ - name-prefix : " with 3.13"
55+ python-version : " 3.13"
5656 enable-x64 : 0
5757 prng-upgrade : 0
5858 num_generated_cases : 1
5959 steps :
6060 - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
61+ - name : Image Setup
62+ run : |
63+ apt update
64+ apt install -y libssl-dev
6165 - name : Set up Python ${{ matrix.python-version }}
6266 uses : actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
6367 with :
6872 python -m pip install --upgrade pip wheel
6973 echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
7074 - name : pip cache
71- uses : actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
75+ uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
7276 with :
7377 path : ${{ steps.pip-cache.outputs.dir }}
7478 key : ${{ runner.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt') }}
@@ -115,7 +119,7 @@ jobs:
115119 python -m pip install --upgrade pip wheel
116120 echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
117121 - name : pip cache
118- uses : actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
122+ uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
119123 with :
120124 path : ${{ steps.pip-cache.outputs.dir }}
121125 key : ${{ runner.os }}-pip-docs-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt') }}
@@ -152,7 +156,7 @@ jobs:
152156 python -m pip install --upgrade pip wheel
153157 echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
154158 - name : pip cache
155- uses : actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
159+ uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
156160 with :
157161 path : ${{ steps.pip-cache.outputs.dir }}
158162 key : ${{ runner.os }}-pip-docs-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt') }}
@@ -188,7 +192,7 @@ jobs:
188192 python -m pip install --upgrade pip wheel
189193 echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
190194 - name : pip cache
191- uses : actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
195+ uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
192196 with :
193197 path : ${{ steps.pip-cache.outputs.dir }}
194198 key : ${{ runner.os }}-py${{ matrix.python-version }}-pip-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt') }}
@@ -227,7 +231,7 @@ jobs:
227231 python -m pip install --upgrade pip wheel
228232 echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
229233 - name : pip cache
230- uses : actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
234+ uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
231235 with :
232236 path : ${{ steps.pip-cache.outputs.dir }}
233237 key : ${{ runner.os }}-pip-ffi-examples-${{ hashFiles('**/setup.py', '**/requirements.txt', '**/test-requirements.txt', 'examples/**/pyproject.toml') }}
0 commit comments