2222 INVOKE_LOCAL : " True"
2323 steps :
2424 - name : " Check out repository code"
25- uses : " actions/checkout@v2 "
25+ uses : " actions/checkout@v4 "
2626 - name : " Setup environment"
27- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
27+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
2828 - name : " Linting: black"
2929 run : " poetry run invoke black"
3030 bandit :
3333 INVOKE_LOCAL : " True"
3434 steps :
3535 - name : " Check out repository code"
36- uses : " actions/checkout@v2 "
36+ uses : " actions/checkout@v4 "
3737 - name : " Setup environment"
38- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
38+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
3939 - name : " Linting: bandit"
4040 run : " poetry run invoke bandit"
4141 needs :
4646 INVOKE_LOCAL : " True"
4747 steps :
4848 - name : " Check out repository code"
49- uses : " actions/checkout@v2 "
49+ uses : " actions/checkout@v4 "
5050 - name : " Setup environment"
51- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
51+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
5252 - name : " Linting: pydocstyle"
5353 run : " poetry run invoke pydocstyle"
5454 needs :
5959 INVOKE_LOCAL : " True"
6060 steps :
6161 - name : " Check out repository code"
62- uses : " actions/checkout@v2 "
62+ uses : " actions/checkout@v4 "
6363 - name : " Setup environment"
64- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
64+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
6565 - name : " Linting: flake8"
6666 run : " poetry run invoke flake8"
6767 needs :
7272 INVOKE_LOCAL : " True"
7373 steps :
7474 - name : " Check out repository code"
75- uses : " actions/checkout@v2 "
75+ uses : " actions/checkout@v4 "
7676 - name : " Setup environment"
77- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
77+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
7878 - name : " Linting: yamllint"
7979 run : " poetry run invoke yamllint"
8080 needs :
@@ -83,22 +83,22 @@ jobs:
8383 strategy :
8484 fail-fast : true
8585 matrix :
86- python-version : ["3.8 ", "3.11 "]
86+ python-version : ["3.9 ", "3.10", "3.11", "3.12 "]
8787 runs-on : " ubuntu-24.04"
8888 env :
8989 PYTHON_VER : " ${{ matrix.python-version }}"
9090 steps :
9191 - name : " Check out repository code"
92- uses : " actions/checkout@v2 "
92+ uses : " actions/checkout@v4 "
9393 - name : " Setup environment"
94- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
94+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
9595 - name : " Get image version"
9696 run : " echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} >> $GITHUB_ENV"
9797 - name : " Set up Docker Buildx"
9898 id : " buildx"
99- uses : " docker/setup-buildx-action@v1 "
99+ uses : " docker/setup-buildx-action@v3 "
100100 - name : " Build"
101- uses : " docker/build-push-action@v2 "
101+ uses : " docker/build-push-action@v6 "
102102 with :
103103 builder : " ${{ steps.buildx.outputs.name }}"
104104 context : " ./"
@@ -119,21 +119,21 @@ jobs:
119119 strategy :
120120 fail-fast : true
121121 matrix :
122- python-version : ["3.8 "]
122+ python-version : ["3.9", "3.10", "3.11", "3.12 "]
123123 env :
124124 PYTHON_VER : " ${{ matrix.python-version }}"
125125 steps :
126126 - name : " Check out repository code"
127- uses : " actions/checkout@v2 "
127+ uses : " actions/checkout@v4 "
128128 - name : " Setup environment"
129- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
129+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
130130 - name : " Get image version"
131131 run : " echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} >> $GITHUB_ENV"
132132 - name : " Set up Docker Buildx"
133133 id : " buildx"
134- uses : " docker/setup-buildx-action@v1 "
134+ uses : " docker/setup-buildx-action@v3 "
135135 - name : " Load the image from cache"
136- uses : " docker/build-push-action@v2 "
136+ uses : " docker/build-push-action@v6 "
137137 with :
138138 builder : " ${{ steps.buildx.outputs.name }}"
139139 context : " ./"
@@ -155,22 +155,22 @@ jobs:
155155 strategy :
156156 fail-fast : true
157157 matrix :
158- python-version : ["3.8 ", "3.11 "]
158+ python-version : ["3.9 ", "3.10", "3.11", "3.12 "]
159159 runs-on : " ubuntu-24.04"
160160 env :
161161 PYTHON_VER : " ${{ matrix.python-version }}"
162162 steps :
163163 - name : " Check out repository code"
164- uses : " actions/checkout@v2 "
164+ uses : " actions/checkout@v4 "
165165 - name : " Setup environment"
166- uses : " networktocode/gh-action-setup-poetry-environment@v2 "
166+ uses : " networktocode/gh-action-setup-poetry-environment@v6 "
167167 - name : " Get image version"
168168 run : " echo IMAGE_VER=`poetry version -s`-py${{ matrix.python-version }} >> $GITHUB_ENV"
169169 - name : " Set up Docker Buildx"
170170 id : " buildx"
171- uses : " docker/setup-buildx-action@v1 "
171+ uses : " docker/setup-buildx-action@v3 "
172172 - name : " Load the image from cache"
173- uses : " docker/build-push-action@v2 "
173+ uses : " docker/build-push-action@v6 "
174174 with :
175175 builder : " ${{ steps.buildx.outputs.name }}"
176176 context : " ./"
@@ -195,12 +195,13 @@ jobs:
195195 publish_gh :
196196 name : " Publish to GitHub"
197197 runs-on : " ubuntu-24.04"
198- if : " startsWith(github.ref, 'refs/tags/v')"
198+ # yamllint disable-line rule:quoted-strings
199+ if : startsWith(github.ref, 'refs/tags/v')
199200 steps :
200201 - name : " Check out repository code"
201- uses : " actions/checkout@v2 "
202+ uses : " actions/checkout@v4 "
202203 - name : " Set up Python"
203- uses : " actions/setup-python@v2 "
204+ uses : " actions/setup-python@v5 "
204205 with :
205206 python-version : " 3.9"
206207 - name : " Install Python Packages"
@@ -224,12 +225,13 @@ jobs:
224225 publish_pypi :
225226 name : " Push Package to PyPI"
226227 runs-on : " ubuntu-24.04"
227- if : " startsWith(github.ref, 'refs/tags/v')"
228+ # yamllint disable-line rule:quoted-strings
229+ if : startsWith(github.ref, 'refs/tags/v')
228230 steps :
229231 - name : " Check out repository code"
230- uses : " actions/checkout@v2 "
232+ uses : " actions/checkout@v4 "
231233 - name : " Set up Python"
232- uses : " actions/setup-python@v2 "
234+ uses : " actions/setup-python@v5 "
233235 with :
234236 python-version : " 3.9"
235237 - name : " Install Python Packages"
0 commit comments