This is an automated email from the ASF dual-hosted git repository.
leekei pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluss-rust.git
The following commit(s) were added to refs/heads/main by this push:
new 0d4956c chore: fix annoying python CI/CD errors due to unsuported
action (#473)
0d4956c is described below
commit 0d4956c134577fa39eceec303ea18e56ee352dcb
Author: Anton Borisov <[email protected]>
AuthorDate: Wed Apr 1 22:17:21 2026 +0100
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 <[email protected]>
---
.github/workflows/build_and_test_python.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/build_and_test_python.yml
b/.github/workflows/build_and_test_python.yml
index 39dfa98..87787c7 100644
--- a/.github/workflows/build_and_test_python.yml
+++ b/.github/workflows/build_and_test_python.yml
@@ -53,7 +53,7 @@ jobs:
python-version: ${{ matrix.python }}
- name: Install uv
- uses: astral-sh/setup-uv@v4
+ uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78
- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler