File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -33,24 +33,27 @@ jobs:
3333 uses : actions/setup-python@v5
3434 with :
3535 python-version : ${{ matrix.python-version }}
36+ - name : Set up uv
37+ uses : astral-sh/setup-uv@v6
3638 - name : Build and check package
3739 run : |
38- pipx run build
39- pipx run twine check dist/mriqc-*
40+ uvx --from build pyproject- build
41+ uvx twine check dist/mriqc-*
4042 - name : Interpolate version
4143 run : |
4244 # Interpolate version
4345 if [[ "$GITHUB_REF" == refs/tags/* ]]; then
4446 TAG=${GITHUB_REF##*/}
4547 fi
46- THISVERSION=$( pipx run hatch version | tail -n1 | xargs )
48+ THISVERSION=$( uvx run hatch version | tail -n1 | xargs )
4749 THISVERSION=${TAG:-$THISVERSION}
4850 echo "Expected VERSION: \"${THISVERSION}\""
4951 echo "THISVERSION=${THISVERSION}" >> $GITHUB_ENV
5052 - name : Install in confined environment [pip]
5153 run : |
5254 python -m venv /tmp/pip
5355 source /tmp/pip/bin/activate
56+ python -m pip install --upgrade pip
5457 python -m pip install .
5558 INSTALLED_VERSION=$(python -c 'import mriqc as qc; print(qc.__version__, end="")')
5659 echo "INSTALLED: \"${INSTALLED_VERSION}\""
7982 runs-on : ubuntu-latest
8083 steps :
8184 - uses : actions/checkout@v4
82- - run : pipx run ruff format --diff
85+ - uses : astral-sh/setup-uv@v6
86+ - run : uvx ruff format --diff
8387
8488 codespell :
8589 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments