1010 - poetry.lock
1111 - pyproject.toml
1212 - .github/workflows/test.yml
13- - .github/workflows/constraints.txt
1413 pull_request :
1514 types : [opened, synchronize, reopened]
1615 paths :
2019 - poetry.lock
2120 - pyproject.toml
2221 - .github/workflows/test.yml
23- - .github/workflows/constraints.txt
2422 workflow_dispatch :
2523 schedule :
2624 # Run weekly on Monday at 12:00 PM UTC
@@ -30,13 +28,25 @@ concurrency:
3028 group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
3129 cancel-in-progress : true
3230
31+ env :
32+ FORCE_COLOR : " 1"
33+ # renovate: datasource=pypi depName=nox
34+ NOX_VERSION : 2024.10.9
35+ # renovate: datasource=pypi depName=nox-poetry
36+ NOX_POETRY_VERSION : 1.1.0
37+ # renovate: datasource=pypi depName=pip
38+ PIP_VERSION : 25.0.1
39+ # renovate: datasource=pypi depName=poetry
40+ POETRY_VERSION : 2.0.1
41+ # renovate: datasource=pypi depName=poetry-plugin-export
42+ POETRY_PLUGIN_EXPORT_VERSION : 1.9.0
43+
3344jobs :
3445 test :
35- runs-on : ubuntu-latest
46+ runs-on : ubuntu-24.04
3647 env :
3748 NOXFORCEPYTHON : ${{ matrix.python-version }}
3849 NOXSESSION : tests
39- PIP_CONSTRAINT : ${{ github.workspace }}/.github/workflows/constraints.txt
4050 PYO3_USE_ABI3_FORWARD_COMPATIBILITY : " 1"
4151 strategy :
4252 fail-fast : false
5060 - " 3.13"
5161
5262 steps :
53- - uses : actions/checkout@v4
54- - uses : actions/setup-python@v5
63+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
64+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
5565 with :
5666 python-version : ${{ matrix.python-version }}
5767 allow-prereleases : true
@@ -60,20 +70,20 @@ jobs:
6070
6171 - name : Upgrade pip
6272 run : |
63- pip install pip
73+ pip install pip==${{ env.PIP_VERSION }}
6474 pip --version
6575
6676 - name : Install Poetry
6777 run : |
68- pipx install poetry
69- pipx inject poetry poetry-plugin-export
78+ pipx install poetry==${{ env.POETRY_VERSION }}
79+ pipx inject poetry poetry-plugin-export==${{ env.POETRY_PLUGIN_EXPORT_VERSION }}
7080 poetry --version
7181 poetry self show plugins
7282
7383 - name : Install Nox
7484 run : |
75- pipx install nox
76- pipx inject nox nox-poetry
85+ pipx install nox==${{ env.NOX_VERSION }}
86+ pipx inject nox nox-poetry==${{ env.NOX_POETRY_VERSION }}
7787 nox --version
7888
7989 - name : Run tests
@@ -84,16 +94,15 @@ jobs:
8494 nox --verbose
8595
8696 typing :
87- runs-on : ubuntu-latest
97+ runs-on : ubuntu-24.04
8898 env :
8999 NOXSESSION : mypy
90- PIP_CONSTRAINT : ${{ github.workspace }}/.github/workflows/constraints.txt
91100 steps :
92101 - name : Checkout code
93- uses : actions/checkout@v4
102+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
94103
95104 - name : Set up Python
96- uses : actions/setup-python@v5
105+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
97106 id : setup-python
98107 with :
99108 python-version : " 3.x"
@@ -102,20 +111,20 @@ jobs:
102111
103112 - name : Upgrade pip
104113 run : |
105- pip install pip
114+ pip install pip==${{ env.PIP_VERSION }}
106115 pip --version
107116
108117 - name : Install Poetry
109118 run : |
110- pipx install poetry --python ${{ steps.setup-python.outputs.python-path }}
111- pipx inject poetry poetry-plugin-export
119+ pipx install poetry==${{ env.POETRY_VERSION }} --python ${{ steps.setup-python.outputs.python-path }}
120+ pipx inject poetry poetry-plugin-export==${{ env.POETRY_PLUGIN_EXPORT_VERSION }}
112121 poetry --version
113122 poetry self show plugins
114123
115124 - name : Install Nox
116125 run : |
117- pipx install nox --python ${{ steps.setup-python.outputs.python-path }}
118- pipx inject nox nox-poetry
126+ pipx install nox==${{ env.NOX_VERSION }} --python ${{ steps.setup-python.outputs.python-path }}
127+ pipx inject nox nox-poetry==${{ env.NOX_POETRY_VERSION }}
119128 nox --version
120129
121130 - name : Run typing checks
0 commit comments