Skip to content

Commit 0d4956c

Browse files
chore: fix annoying python CI/CD errors due to unsuported action (#473)
* chore: fix annoying python CI/CD errors due to unsuported action * cache uv deps * cache pyproject.toml * Use setup-uv action pinned to commit SHA instead of pip install Replace `pip install uv` with `astral-sh/setup-uv` pinned to commit SHA for supply chain security. Remove redundant manual uv cache step as setup-uv handles caching natively. --------- Co-authored-by: Keith Lee <leekei@apache.org>
1 parent e05a3f0 commit 0d4956c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build_and_test_python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
python-version: ${{ matrix.python }}
5454

5555
- name: Install uv
56-
uses: astral-sh/setup-uv@v4
56+
uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78
5757

5858
- name: Install protoc
5959
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler

0 commit comments

Comments
 (0)