Skip to content

Testing action

Testing action #6

Workflow file for this run

name: Formatter
on:
pull_request:
push:
jobs:
isort:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
- uses: isort/[email protected]
with:
configuration: "--settings-file=.isort.cfg --check-only --diff"
requirements-files: "requirements.txt"
- uses: stefanzweifel/[email protected]
with:
commit_message: "Run isort"
black:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
ref: ${{ github.head_ref }}
- uses: psf/black@stable
with:
options: "--line-length=120 --check --diff"
version: "24.2.0"
- uses: stefanzweifel/[email protected]
with:
commit_message: "Run black"