44 branches :
55 - develop
66
7+ permissions :
8+ pull-requests : write
9+
710jobs :
811
912 coverage :
1013 runs-on : ubuntu-latest
1114 if : github.repository == 'NHSDigital/mesh-sandbox'
1215 steps :
1316 - name : checkout
14- uses : actions/checkout@v3
17+ uses : actions/checkout@v5
1518 with :
1619 fetch-depth : 0
1720
@@ -40,12 +43,12 @@ jobs:
4043 git merge --ff-only "${{ github.event.pull_request.head.sha }}"
4144
4245 - name : setup python
43- uses : actions/setup-python@v3
46+ uses : actions/setup-python@v5
4447 with :
45- python-version : " 3.9 "
48+ python-version-file : ' pyproject.toml '
4649
4750 - name : setup poetry
48- uses : abatilo/actions-poetry@v2
51+ uses : abatilo/actions-poetry@v4
4952 with :
5053 poetry-version : 1.5.1
5154
5457 poetry self add "poetry-dynamic-versioning[plugin]"
5558
5659 - name : cache virtualenv
57- uses : actions/cache@v3
60+ uses : actions/cache@v4
5861 with :
5962 path : |
6063 .venv
7679
7780 - name : setup java
7881 if : success() || failure()
79- uses : actions/setup-java@v3
82+ uses : actions/setup-java@v5
8083 with :
8184 distribution : " corretto"
8285 java-version : " 11"
97100
98101 - name : setup java
99102 if : github.actor != 'dependabot[bot]' && (success() || failure())
100- uses : actions/setup-java@v3
103+ uses : actions/setup-java@v5
101104 with :
102105 distribution : " corretto"
103106 java-version : " 17"
@@ -134,7 +137,7 @@ jobs:
134137
135138 - name : publish junit reports
136139 if : success() || failure()
137- uses : mikepenz/action-junit-report@v3
140+ uses : mikepenz/action-junit-report@v5
138141 with :
139142 check_name : junit reports
140143 report_paths : reports/junit/*.xml
@@ -148,7 +151,7 @@ jobs:
148151 if : github.repository == 'NHSDigital/mesh-sandbox'
149152 steps :
150153 - name : checkout
151- uses : actions/checkout@v3
154+ uses : actions/checkout@v5
152155 with :
153156 fetch-depth : 0
154157
@@ -169,12 +172,12 @@ jobs:
169172 git merge --ff-only "${{ github.event.pull_request.head.sha }}"
170173
171174 - name : setup python
172- uses : actions/setup-python@v3
175+ uses : actions/setup-python@v5
173176 with :
174- python-version : " 3.9 "
177+ python-version-file : ' pyproject.toml '
175178
176179 - name : setup poetry
177- uses : abatilo/actions-poetry@v2
180+ uses : abatilo/actions-poetry@v4
178181 with :
179182 poetry-version : 1.5.1
180183
@@ -183,7 +186,7 @@ jobs:
183186 poetry self add "poetry-dynamic-versioning[plugin]"
184187
185188 - name : cache virtualenv
186- uses : actions/cache@v3
189+ uses : actions/cache@v4
187190 with :
188191 path : |
189192 .venv
@@ -228,7 +231,7 @@ jobs:
228231 - lint
229232 steps :
230233 - name : checkout
231- uses : actions/checkout@v3
234+ uses : actions/checkout@v5
232235 with :
233236 fetch-depth : 0
234237
@@ -254,12 +257,12 @@ jobs:
254257 git merge --ff-only "${{ github.event.pull_request.head.sha }}"
255258
256259 - name : setup python
257- uses : actions/setup-python@v3
260+ uses : actions/setup-python@v5
258261 with :
259- python-version : " 3.9 "
262+ python-version-file : ' pyproject.toml '
260263
261264 - name : setup poetry
262- uses : abatilo/actions-poetry@v2
265+ uses : abatilo/actions-poetry@v4
263266 with :
264267 poetry-version : 1.5.1
265268
@@ -268,7 +271,7 @@ jobs:
268271 poetry self add "poetry-dynamic-versioning[plugin]"
269272
270273 - name : cache virtualenv
271- uses : actions/cache@v3
274+ uses : actions/cache@v4
272275 with :
273276 path : |
274277 .venv
0 commit comments