From a9a81176c9cca08a31521404eefd6c07e7d4d982 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Wed, 24 Jul 2024 21:20:34 -0400 Subject: [PATCH] ci: replace pipx calls with community actions --- .forgejo/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 4d1e84b..0fa64dd 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -21,12 +21,13 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 - - name: Install pipx - run: pip install pipx - 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 - run: pipx run isort . --check + uses: https://github.com/isort/isort-action@v1 post-run-notify: runs-on: ubuntu-latest if: always()