Skip to content

Commit

Permalink
Use pipx for pre-commit and PyPi in CI (#1204)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas authored Oct 11, 2024
1 parent 19da2d5 commit 13d680b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- uses: actions/setup-python@v5

- name: Install dependencies
run: python -m pip install --upgrade pip setuptools build
run: pipx install build

- name: Build sdist and wheels
run: python -m build
run: pyproject-build

- name: Store wheels
uses: actions/upload-artifact@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run-pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: python -m pip install pre-commit
- run: python -m pre_commit --version
- run: python -m pre_commit run --all-files
- run: pipx install pre-commit
- run: pre-commit --version
- run: pre-commit run --all-files

0 comments on commit 13d680b

Please sign in to comment.