44 branches :
55 - develop
66
7- permissions :
8- contents : write
9- checks : write
10- pull-requests : write
11-
127jobs :
138 coverage :
149 runs-on : ubuntu-latest
10+ permissions :
11+ contents : write
12+ checks : write
13+ pull-requests : write
1514 if : github.repository == 'NHSDigital/mesh-sandbox'
1615 steps :
1716 - name : checkout
18- uses : actions/checkout@v5
17+ uses : actions/checkout@v6
1918 with :
2019 fetch-depth : 0
2120
6160 poetry self add "poetry-dynamic-versioning[plugin]"
6261
6362 - name : cache virtualenv
64- uses : actions/cache@v4
63+ uses : actions/cache@v5
6564 with :
6665 path : |
6766 .venv
@@ -113,7 +112,7 @@ jobs:
113112 if : github.actor != 'dependabot[bot]' && (success() || failure())
114113 run : |
115114 export SONAR_VERSION="4.7.0.2747"
116- wget -q "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}.zip" -O sonar-scanner.zip
115+ wget -q --max-redirect=0 "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}.zip" -O sonar-scanner.zip
117116 unzip -q ./sonar-scanner.zip
118117 mv ./sonar-scanner-${SONAR_VERSION} ./sonar-scanner
119118 scripts/sonar_tests.py
@@ -134,14 +133,14 @@ jobs:
134133
135134 - name : archive reports
136135 if : success() || failure()
137- uses : actions/upload-artifact@v4
136+ uses : actions/upload-artifact@v6
138137 with :
139138 name : reports
140139 path : reports/**/*
141140
142141 - name : publish junit reports
143142 if : success() || failure()
144- uses : mikepenz/action-junit-report@3585e9575db828022551b4231f165eb59a0e74e3
143+ uses : mikepenz/action-junit-report@a294a61c909bd8a4b563024a2faa28897fd53ebc
145144 with :
146145 check_name : junit reports
147146 report_paths : reports/junit/*.xml
@@ -152,10 +151,14 @@ jobs:
152151
153152 lint :
154153 runs-on : ubuntu-latest
154+ permissions :
155+ contents : write
156+ checks : write
157+ pull-requests : write
155158 if : github.repository == 'NHSDigital/mesh-sandbox'
156159 steps :
157160 - name : checkout
158- uses : actions/checkout@v5
161+ uses : actions/checkout@v6
159162 with :
160163 fetch-depth : 0
161164
@@ -193,7 +196,7 @@ jobs:
193196 poetry self add "poetry-dynamic-versioning[plugin]"
194197
195198 - name : cache virtualenv
196- uses : actions/cache@v4
199+ uses : actions/cache@v5
197200 with :
198201 path : |
199202 .venv
@@ -231,13 +234,17 @@ jobs:
231234
232235 publish :
233236 runs-on : ubuntu-latest
237+ permissions :
238+ contents : write
239+ checks : write
240+ pull-requests : write
234241 if : github.repository == 'NHSDigital/mesh-sandbox' && github.actor != 'dependabot[bot]'
235242 needs :
236243 - coverage
237244 - lint
238245 steps :
239246 - name : checkout
240- uses : actions/checkout@v5
247+ uses : actions/checkout@v6
241248 with :
242249 fetch-depth : 0
243250
@@ -280,7 +287,7 @@ jobs:
280287 poetry self add "poetry-dynamic-versioning[plugin]"
281288
282289 - name : cache virtualenv
283- uses : actions/cache@v4
290+ uses : actions/cache@v5
284291 with :
285292 path : |
286293 .venv
0 commit comments