2121 matrix :
2222 python : ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2323 steps :
24- - uses : actions/checkout@v6
25- - uses : actions/setup-python@v6
24+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
25+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2626 with :
2727 python-version : ${{ matrix.python }}
2828 cache : pip
@@ -45,11 +45,11 @@ jobs:
4545 pytest --cov --cov-report=term --cov-report=xml --junit-xml=junit.xml
4646 mv coverage.xml coverage_py${{ matrix.python }}_types.xml
4747 mv junit.xml junit_py${{ matrix.python }}_types.xml
48- - uses : actions/upload-artifact@v7
48+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
4949 with :
5050 name : coverage_py${{ matrix.python }}
5151 path : ./coverage_py*
52- - uses : actions/upload-artifact@v7
52+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5353 with :
5454 name : junit_py${{ matrix.python }}
5555 path : ./junit_py*
6060 matrix :
6161 python : ["3.10", "3.11", "3.12", "3.13", "3.14"]
6262 steps :
63- - uses : actions/checkout@v6
64- - uses : actions/setup-python@v6
63+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
64+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
6565 with :
6666 python-version : ${{ matrix.python }}
6767 cache : pip
7575 matrix :
7676 python : ["3.10", "3.11", "3.12", "3.13", "3.14"]
7777 steps :
78- - uses : actions/checkout@v6
79- - uses : actions/setup-python@v6
78+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
79+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
8080 with :
8181 python-version : ${{ matrix.python }}
8282 cache : pip
9090 matrix :
9191 python : ["3.12", "3.14"]
9292 steps :
93- - uses : actions/checkout@v6
94- - uses : actions/setup-python@v6
93+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
94+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
9595 with :
9696 python-version : ${{ matrix.python }}
9797 cache : pip
@@ -101,8 +101,8 @@ jobs:
101101 omegaconf :
102102 runs-on : ubuntu-latest
103103 steps :
104- - uses : actions/checkout@v6
105- - uses : actions/setup-python@v6
104+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
105+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
106106 with :
107107 python-version : " 3.12"
108108 cache : pip
@@ -112,8 +112,8 @@ jobs:
112112 pydantic-v1 :
113113 runs-on : ubuntu-latest
114114 steps :
115- - uses : actions/checkout@v6
116- - uses : actions/setup-python@v6
115+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
116+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
117117 with :
118118 python-version : " 3.12"
119119 cache : pip
@@ -132,20 +132,20 @@ jobs:
132132 pytest --cov --cov-report=term --cov-report=xml --junit-xml=junit.xml jsonargparse_tests/test_pydantic.py
133133 mv coverage.xml coverage_pydantic2.xml
134134 mv junit.xml junit_pydantic2.xml
135- - uses : actions/upload-artifact@v7
135+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
136136 with :
137137 name : coverage_pydantic
138138 path : ./coverage_py*
139- - uses : actions/upload-artifact@v7
139+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
140140 with :
141141 name : junit_pydantic
142142 path : ./junit_py*
143143
144144 build-package :
145145 runs-on : ubuntu-latest
146146 steps :
147- - uses : actions/checkout@v6
148- - uses : actions/setup-python@v6
147+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
148+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
149149 with :
150150 python-version : " 3.12"
151151 - name : Build package
@@ -155,7 +155,7 @@ jobs:
155155 cd jsonargparse_tests
156156 python -m build --wheel
157157 mv dist/*.whl ../dist/
158- - uses : actions/upload-artifact@v7
158+ - uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
159159 with :
160160 name : package
161161 path : ./dist/*
@@ -164,12 +164,12 @@ jobs:
164164 runs-on : ubuntu-latest
165165 needs : [build-package]
166166 steps :
167- - uses : actions/checkout@v6
168- - uses : actions/setup-python@v6
167+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
168+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
169169 with :
170170 python-version : " 3.12"
171171 cache : pip
172- - uses : actions/download-artifact@v8
172+ - uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
173173 with :
174174 name : package
175175 path : dist
@@ -188,8 +188,8 @@ jobs:
188188 doctest :
189189 runs-on : ubuntu-latest
190190 steps :
191- - uses : actions/checkout@v6
192- - uses : actions/setup-python@v6
191+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
192+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
193193 with :
194194 python-version : " 3.12"
195195 cache : pip
@@ -200,14 +200,14 @@ jobs:
200200 mypy :
201201 runs-on : ubuntu-latest
202202 steps :
203- - uses : actions/checkout@v6
204- - uses : actions/setup-python@v6
203+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
204+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
205205 with :
206206 python-version : " 3.12"
207207 cache : pip
208- - uses : actions/cache@v5
208+ - uses : actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
209209 with :
210- key : pre-commit-cache
210+ key : pre-commit-cache-${{ hashFiles('.pre-commit-config.yaml') }}
211211 path : ~/.cache/pre-commit
212212 - run : pip install pre-commit
213213 - run : pre-commit run -a --hook-stage pre-push mypy
@@ -218,16 +218,16 @@ jobs:
218218 permissions :
219219 id-token : write
220220 steps :
221- - uses : actions/checkout@v6
222- - uses : actions/download-artifact@v8
221+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
222+ - uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
223223 with :
224224 merge-multiple : true
225- - uses : codecov/codecov-action@v6
225+ - uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
226226 with :
227227 fail_ci_if_error : true
228228 files : ./coverage_*.xml
229229 use_oidc : true
230- - uses : codecov/codecov-action@v6
230+ - uses : codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
231231 with :
232232 fail_ci_if_error : true
233233 report_type : test_results
@@ -242,10 +242,10 @@ jobs:
242242 (github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork)
243243 needs : [linux, pydantic-v1]
244244 steps :
245- - uses : actions/checkout@v6
245+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
246246 with :
247247 fetch-depth : 0 # Shallow clone disabled for a better relevancy of analysis
248- - uses : actions/download-artifact@v8
248+ - uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
249249 with :
250250 merge-multiple : true
251251 - name : Get version
@@ -257,7 +257,7 @@ jobs:
257257 VERSION="$(git describe --tags --abbrev=0 | sed 's/^v//')+$(git rev-parse --short HEAD)"
258258 fi
259259 echo "VERSION=$VERSION" >> $GITHUB_ENV
260- - uses : SonarSource/sonarqube-scan-action@v8
260+ - uses : SonarSource/sonarqube-scan-action@59db25f34e16620e48ab4bb9e4a5dce155cb5432 # v8.0.0
261261 with :
262262 args : >
263263 -Dsonar.organization=omni-us
@@ -282,9 +282,9 @@ jobs:
282282 permissions :
283283 id-token : write
284284 steps :
285- - uses : actions/download-artifact@v8
285+ - uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
286286 with :
287287 name : package
288288 path : dist
289289 - name : Publish to PyPI
290- uses : pypa/gh-action-pypi-publish@release/v1
290+ uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
0 commit comments