1515 os : [ ubuntu-latest, macos-latest, windows-latest ]
1616 runs-on : ${{ matrix.os }}
1717 steps :
18- - uses : actions/checkout@v7.0.0
18+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1919 - name : Set up Python
20- uses : actions/setup-python@v7.0.0
20+ uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
2121 with :
2222 python-version : ${{ matrix.python }}
2323
2727 shell : bash
2828
2929 - name : Cache dependencies
30- uses : actions/cache@v6
30+ uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
3131 with :
3232 path : .venv
3333 key : ${{ runner.os }}-${{ steps.get_python_version.outputs.python_version }}-dependencies-${{ hashFiles('**/pdm.lock') }}
6060 if : matrix.os == 'ubuntu-latest'
6161
6262 - name : Store coverage report
63- uses : actions/upload-artifact@v7.0.1
63+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6464 if : matrix.os == 'ubuntu-latest'
6565 with :
6666 name : coverage-${{ matrix.python }}
7474 os : [ ubuntu-latest, macos-latest, windows-latest ]
7575 runs-on : ${{ matrix.os }}
7676 steps :
77- - uses : actions/checkout@v7.0.0
77+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
7878 - name : Set up Python
79- uses : actions/setup-python@v7.0.0
79+ uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
8080 with :
8181 python-version : " 3.11"
8282
8686 shell : bash
8787
8888 - name : Cache dependencies
89- uses : actions/cache@v6
89+ uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
9090 with :
9191 path : .venv
9292 key : ${{ runner.os }}-${{ steps.get_python_version.outputs.python_version }}-min-dependencies-${{ hashFiles('**/pdm.lock') }}
@@ -109,12 +109,12 @@ jobs:
109109 needs : test
110110 runs-on : ubuntu-latest
111111 steps :
112- - uses : actions/checkout@v7.0.0
113- - uses : actions/setup-python@v7
112+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
113+ - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
114114 with :
115115 python-version : " 3.12"
116116 - name : Download coverage reports
117- uses : actions/download-artifact@v8.0.1
117+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
118118 with :
119119 merge-multiple : true
120120
@@ -139,7 +139,7 @@ jobs:
139139 .venv/bin/python -m coverage report --fail-under=100
140140
141141 - name : Upload HTML report if check failed.
142- uses : actions/upload-artifact@v7.0.1
142+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
143143 with :
144144 name : html-report
145145 path : htmlcov
@@ -159,16 +159,16 @@ jobs:
159159 ports :
160160 - " 3000:3000"
161161 steps :
162- - uses : actions/checkout@v7.0.0
162+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
163163 - name : Set up Python
164- uses : actions/setup-python@v7.0.0
164+ uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
165165 with :
166166 python-version : " 3.11"
167167 - name : Get Python Version
168168 id : get_python_version
169169 run : echo "python_version=$(python --version)" >> $GITHUB_OUTPUT
170170 - name : Cache Generated Client Dependencies
171- uses : actions/cache@v6
171+ uses : actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
172172 with :
173173 path : integration-tests/.venv
174174 key : ${{ runner.os }}-${{ steps.get_python_version.outputs.python_version }}-integration-dependencies-${{ hashFiles('integration-tests/pdm*.lock') }}
0 commit comments