File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,19 @@ jobs:
33
33
uses : actions/setup-python@v5
34
34
with :
35
35
python-version : ${{ matrix.python-version }}
36
+ - name : Set up uv
37
+ uses : astral-sh/setup-uv@v6
36
38
- name : Build and check package
37
39
run : |
38
- pipx run build
39
- pipx run twine check dist/mriqc-*
40
+ uvx --from build pyproject- build
41
+ uvx twine check dist/mriqc-*
40
42
- name : Interpolate version
41
43
run : |
42
44
# Interpolate version
43
45
if [[ "$GITHUB_REF" == refs/tags/* ]]; then
44
46
TAG=${GITHUB_REF##*/}
45
47
fi
46
- THISVERSION=$( pipx run hatch version | tail -n1 | xargs )
48
+ THISVERSION=$( uvx run hatch version | tail -n1 | xargs )
47
49
THISVERSION=${TAG:-$THISVERSION}
48
50
echo "Expected VERSION: \"${THISVERSION}\""
49
51
echo "THISVERSION=${THISVERSION}" >> $GITHUB_ENV
79
81
runs-on : ubuntu-latest
80
82
steps :
81
83
- uses : actions/checkout@v4
82
- - run : pipx run ruff format --diff
84
+ - uses : astral-sh/setup-uv@v6
85
+ - run : uvx ruff format --diff
83
86
84
87
codespell :
85
88
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments