Skip to content

Commit f6bcc0b

Browse files
committed
Install Hatch globally
1 parent c6609ca commit f6bcc0b

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
1-
name: build
1+
name: ci
22
on: [push, workflow_dispatch]
33

44
jobs:
5-
build:
6-
name: lint, install and package on amd64/archlinux:base
5+
ci:
6+
name: CI on amd64/archlinux:base
77
runs-on: ubuntu-22.04
88
container: amd64/archlinux:base
99
steps:
1010
- uses: actions/checkout@v4
1111
- run: |
1212
pacman -Syu --needed --noconfirm python-pipx python-wxpython
13-
pipx install hatch
14-
pipx ensurepath
13+
pipx install --global hatch
1514
name: Install dependencies
16-
# Use the full path because Hatch is not found for some reason.
17-
- run: ~/.local/bin/hatch fmt --check
15+
- run: hatch fmt --check
1816
name: Lint
19-
- run: ~/.local/bin/hatch -vv env create dev
17+
- run: hatch -vv env create dev
2018
name: Create editable installation
21-
- run: ~/.local/bin/hatch build
19+
- run: hatch build
2220
name: Package into tarball and wheel

0 commit comments

Comments
 (0)