ci: replace pipx calls with community actions
This commit is contained in:
parent
8e7f5b4d92
commit
a9a81176c9
1 changed files with 5 additions and 4 deletions
|
@ -21,12 +21,13 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
- name: Install pipx
|
|
||||||
run: pip install pipx
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: pipx run black . --check
|
uses: https://github.com/psf/black@stable
|
||||||
|
with:
|
||||||
|
options: "--check --verbose"
|
||||||
|
version: "~= 24.0"
|
||||||
- name: Check import ordering
|
- name: Check import ordering
|
||||||
run: pipx run isort . --check
|
uses: https://github.com/isort/isort-action@v1
|
||||||
post-run-notify:
|
post-run-notify:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: always()
|
if: always()
|
||||||
|
|
Loading…
Reference in a new issue