@@ -15,6 +15,8 @@ concurrency:
1515env :
1616 FORCE_COLOR : 3
1717
18+ permissions : {}
19+
1820jobs :
1921 detect-ci-trigger :
2022 name : detect ci trigger
@@ -26,10 +28,11 @@ jobs:
2628 outputs :
2729 triggered : ${{ steps.detect-trigger.outputs.trigger-found }}
2830 steps :
29- - uses : actions/checkout@v6
31+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3032 with :
3133 fetch-depth : 2
32- - uses : xarray-contrib/ci-trigger@v1
34+ persist-credentials : false
35+ - uses : xarray-contrib/ci-trigger@10cd2bfec3484946a4058a421ddf9cfad101e715 # v1.2.1
3336 id : detect-trigger
3437 with :
3538 keyword : " [skip-ci]"
@@ -44,10 +47,12 @@ jobs:
4447 pixi-version : ${{ steps.pixi-lock.outputs.pixi-version }}
4548
4649 steps :
47- - uses : actions/checkout@v6
50+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
51+ with :
52+ persist-credentials : false
4853 - uses : Parcels-code/pixi-lock/create-and-cache@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
4954 id : pixi-lock
50- - uses : actions/upload-artifact@v7
55+ - uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
5156 with :
5257 name : pixi-lock
5358 path : pixi.lock
6368 env :
6469 PIXI_ENV : " test-py313"
6570 steps :
66- - uses : actions/checkout@v6
71+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
6772 with :
6873 fetch-depth : 0 # Fetch all history for all branches and tags.
74+ persist-credentials : false
6975
7076 - name : set environment variables
7177 run : |
7581 uses : Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
7682 with :
7783 cache-key : ${{ needs.cache-pixi-lock.outputs.cache-key }}
78- - uses : prefix-dev/setup-pixi@v0.9.4
84+ - uses : prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
7985 with :
8086 pixi-version : ${{ needs.cache-pixi-lock.outputs.pixi-version }}
8187 cache : true
@@ -106,14 +112,15 @@ jobs:
106112 PIXI_ENV : test-py313-with-typing
107113
108114 steps :
109- - uses : actions/checkout@v6
115+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
110116 with :
111117 fetch-depth : 0 # Fetch all history for all branches and tags.
118+ persist-credentials : false
112119 - name : Restore cached pixi lockfile
113120 uses : Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
114121 with :
115122 cache-key : ${{ needs.cache-pixi-lock.outputs.cache-key }}
116- - uses : prefix-dev/setup-pixi@v0.9.4
123+ - uses : prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
117124 with :
118125 pixi-version : ${{ needs.cache-pixi-lock.outputs.pixi-version }}
119126 cache : true
@@ -132,7 +139,7 @@ jobs:
132139 pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
133140
134141 - name : Upload mypy coverage to Codecov
135- uses : codecov/codecov-action@v6.0.0
142+ uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
136143 with :
137144 files : mypy_report/cobertura.xml
138145 flags : mypy
@@ -151,14 +158,15 @@ jobs:
151158 PIXI_ENV : test-py311-with-typing
152159
153160 steps :
154- - uses : actions/checkout@v6
161+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
155162 with :
156163 fetch-depth : 0 # Fetch all history for all branches and tags.
164+ persist-credentials : false
157165 - name : Restore cached pixi lockfile
158166 uses : Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
159167 with :
160168 cache-key : ${{ needs.cache-pixi-lock.outputs.cache-key }}
161- - uses : prefix-dev/setup-pixi@v0.9.4
169+ - uses : prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
162170 with :
163171 pixi-version : ${{ needs.cache-pixi-lock.outputs.pixi-version }}
164172 cache : true
@@ -177,7 +185,7 @@ jobs:
177185 pixi run -e ${{env.PIXI_ENV}} -- python -m mypy --install-types --non-interactive --cobertura-xml-report mypy_report
178186
179187 - name : Upload mypy coverage to Codecov
180- uses : codecov/codecov-action@v6.0.0
188+ uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
181189 with :
182190 files : mypy_report/cobertura.xml
183191 flags : mypy-min
@@ -199,15 +207,16 @@ jobs:
199207 PIXI_ENV : test-py313-with-typing
200208
201209 steps :
202- - uses : actions/checkout@v6
210+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
203211 with :
204212 fetch-depth : 0
213+ persist-credentials : false
205214
206215 - name : Restore cached pixi lockfile
207216 uses : Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
208217 with :
209218 cache-key : ${{ needs.cache-pixi-lock.outputs.cache-key }}
210- - uses : prefix-dev/setup-pixi@v0.9.4
219+ - uses : prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
211220 with :
212221 pixi-version : ${{ needs.cache-pixi-lock.outputs.pixi-version }}
213222 cache : true
@@ -249,15 +258,16 @@ jobs:
249258 shell : bash -l {0}
250259
251260 steps :
252- - uses : actions/checkout@v6
261+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
253262 with :
254263 fetch-depth : 0 # Fetch all history for all branches and tags.
264+ persist-credentials : false
255265
256266 - name : Restore cached pixi lockfile
257267 uses : Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
258268 with :
259269 cache-key : ${{ needs.cache-pixi-lock.outputs.cache-key }}
260- - uses : prefix-dev/setup-pixi@v0.9.4
270+ - uses : prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
261271 with :
262272 pixi-version : ${{ needs.cache-pixi-lock.outputs.pixi-version }}
263273 cache : true
@@ -276,7 +286,7 @@ jobs:
276286 pixi run -e ${{ matrix.pixi-env }} -- python -m pyright xarray/
277287
278288 - name : Upload pyright coverage to Codecov
279- uses : codecov/codecov-action@v6.0.0
289+ uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
280290 with :
281291 files : pyright_report/cobertura.xml
282292 flags : pyright
@@ -297,16 +307,17 @@ jobs:
297307 COLUMNS : 120
298308
299309 steps :
300- - uses : actions/checkout@v6
310+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
301311 with :
302312 fetch-depth : 0 # Fetch all history for all branches and tags.
313+ persist-credentials : false
303314
304315 - name : Restore cached pixi lockfile
305316 uses : Parcels-code/pixi-lock/restore@38495788b79a5ff26009aecc15daa9a8310b8832 # v0.1.0
306317 with :
307318 cache-key : ${{ needs.cache-pixi-lock.outputs.cache-key }}
308319
309- - uses : prefix-dev/setup-pixi@v0.9.4
320+ - uses : prefix-dev/setup-pixi@a0af7a228712d6121d37aba47adf55c1332c9c2e # v0.9.4
310321 with :
311322 pixi-version : ${{ needs.cache-pixi-lock.outputs.pixi-version }}
312323 cache : true
0 commit comments