new github actions and badge status added to README #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Formatting Check | |
on: [push, pull_request] | |
jobs: | |
python_formatter: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Black Formatter | |
uses: lgeiger/black-action@master | |
with: | |
args: ". --check --diff" |