File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,19 @@ 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
7981 runs-on : ubuntu-latest
8082 steps :
8183 - uses : actions/checkout@v4
82- - run : pipx run ruff format --diff
84+ - run : uvx ruff format --diff
8385
8486 codespell :
8587 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments