@@ -51,11 +51,25 @@ runs:
5151 sudo rm -rf /usr/share/dotnet /usr/share/doc/dotnet-*
5252 df -h
5353
54+ - name : Setup uv
55+ uses : astral-sh/setup-uv@ed21f2f24f8dd64503750218de024bcf64c7250a # v7.1.5
56+ with :
57+ working-directory : ${{ github.action_path }}
58+ version : " 0.9.15"
59+ # we just cache the venv-dir directly in action-setup-venv
60+ enable-cache : false
61+
62+ - uses : getsentry/action-setup-venv@0958463ee0e02b9e8aa8f8e031afae1f84b80881 # v3.0.0
63+ with :
64+ python-version : " 3.12"
65+ cache-dependency-path : uv.lock
66+ install-cmd : uv sync --frozen --active
67+
5468 - name : Setup dev environment
5569 shell : bash
5670 run : |
5771 cd ${{ github.action_path }}
58- pip install -r requirements-dev.txt
72+
5973 echo "PY_COLORS=1" >> "$GITHUB_ENV"
6074 ### pytest-sentry configuration ###
6175 if [ "$GITHUB_REPOSITORY" = "getsentry/self-hosted" ]; then
@@ -202,7 +216,7 @@ runs:
202216 - name : Upload coverage to Codecov
203217 if : inputs.CODECOV_TOKEN
204218 continue-on-error : true
205- uses : codecov/codecov-action@v5
219+ uses : codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
206220 with :
207221 directory : ${{ github.action_path }}
208222 token : ${{ inputs.CODECOV_TOKEN }}
@@ -211,7 +225,7 @@ runs:
211225 - name : Upload test results to Codecov
212226 if : inputs.CODECOV_TOKEN && !cancelled()
213227 continue-on-error : true
214- uses : codecov/test-results-action@v1
228+ uses : codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f # v1.1.1
215229 with :
216230 directory : ${{ github.action_path }}
217231 token : ${{ inputs.CODECOV_TOKEN }}
0 commit comments