1212 - " packages/pynumaflow-lite/**"
1313 - " .github/workflows/pynumaflow-lite.yml"
1414
15+ concurrency :
16+ group : ${{ github.workflow }}-${{ github.ref }}
17+ cancel-in-progress : true
18+
1519permissions :
1620 contents : read
1721
6064 run : uv run ruff check .
6165
6266 - name : Clippy
63- run : cargo clippy --workspace --all-targets --all-features -- -D warnings -A clippy::module_inception
67+ run : cargo clippy --locked -- workspace --all-targets --all-features -- -D warnings -A clippy::module_inception
6468
6569 test :
6670 name : Test ${{ matrix.platform.artifact }}
@@ -102,7 +106,7 @@ jobs:
102106 uv python install "${python_version}"
103107 export UV_PYTHON="${python_version}"
104108 uv sync --group dev --python "${python_version}"
105- uv run --python "${python_version}" maturin develop
109+ uv run --python "${python_version}" maturin develop --locked
106110
107111 uv run --python "${python_version}" pytest -v
108112
@@ -121,7 +125,7 @@ jobs:
121125 export PYTHONHOME="$("${python_bin}" -c 'import sys; print(sys.base_prefix)')"
122126 python_libdir="$("${python_bin}" -c 'import sysconfig; print(sysconfig.get_config_var("LIBDIR"))')"
123127 export LD_LIBRARY_PATH="${python_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
124- cargo test
128+ cargo test --locked
125129 unset PYO3_PYTHON PYTHONHOME LD_LIBRARY_PATH
126130
127131 unset UV_PYTHON
@@ -174,6 +178,7 @@ jobs:
174178 manylinux : ${{ matrix.platform.manylinux }}
175179 args : >-
176180 --release
181+ --locked
177182 --out dist
178183 -i ${{ matrix.platform.linux && format('python{0}', matrix.python-version) || 'python' }}
179184
0 commit comments