From 5f6b479a2e8b600ad05415f5eff0abb11c561fed 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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 4d1e84b..171ec28 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -20,13 +20,13 @@ jobs: runs-on: ubuntu-latest 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()