1414 if : github.repository == 'NHSDigital/mesh-sandbox'
1515 steps :
1616 - name : checkout
17- uses : actions/checkout@v6
17+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1818 with :
1919 fetch-depth : 0
2020
4646 PR_BRANCH : ${{ github.head_ref }}
4747
4848 - name : setup python
49- uses : actions/setup-python@v6
49+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
5050 with :
5151 python-version-file : " pyproject.toml"
5252
6060 poetry self add "poetry-dynamic-versioning[plugin]"
6161
6262 - name : cache virtualenv
63- uses : actions/cache@v5
63+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
6464 with :
6565 path : |
6666 .venv
8282
8383 - name : setup java
8484 if : success() || failure()
85- uses : actions/setup-java@v5
85+ uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
8686 with :
8787 distribution : " corretto"
8888 java-version : " 11"
@@ -103,7 +103,7 @@ jobs:
103103
104104 - name : setup java
105105 if : success() || failure()
106- uses : actions/setup-java@v5
106+ uses : actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
107107 with :
108108 distribution : " corretto"
109109 java-version : " 17"
@@ -133,7 +133,7 @@ jobs:
133133
134134 - name : archive reports
135135 if : success() || failure()
136- uses : actions/upload-artifact@v7
136+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
137137 with :
138138 name : reports
139139 path : reports/**/*
@@ -158,7 +158,7 @@ jobs:
158158 if : github.repository == 'NHSDigital/mesh-sandbox'
159159 steps :
160160 - name : checkout
161- uses : actions/checkout@v6
161+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
162162 with :
163163 fetch-depth : 0
164164
@@ -182,7 +182,7 @@ jobs:
182182 PR_BRANCH : ${{ github.head_ref }}
183183
184184 - name : setup python
185- uses : actions/setup-python@v6
185+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
186186 with :
187187 python-version-file : " pyproject.toml"
188188
@@ -196,7 +196,7 @@ jobs:
196196 poetry self add "poetry-dynamic-versioning[plugin]"
197197
198198 - name : cache virtualenv
199- uses : actions/cache@v5
199+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
200200 with :
201201 path : |
202202 .venv
@@ -244,7 +244,7 @@ jobs:
244244 - lint
245245 steps :
246246 - name : checkout
247- uses : actions/checkout@v6
247+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
248248 with :
249249 fetch-depth : 0
250250
@@ -273,7 +273,7 @@ jobs:
273273 PR_BRANCH : ${{ github.head_ref }}
274274
275275 - name : setup python
276- uses : actions/setup-python@v6
276+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
277277 with :
278278 python-version-file : " pyproject.toml"
279279
@@ -287,7 +287,7 @@ jobs:
287287 poetry self add "poetry-dynamic-versioning[plugin]"
288288
289289 - name : cache virtualenv
290- uses : actions/cache@v5
290+ uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
291291 with :
292292 path : |
293293 .venv
0 commit comments