Skip to content

CI: bump to actions/checkout@v4 and actions/setup-python@v5 #173

CI: bump to actions/checkout@v4 and actions/setup-python@v5

CI: bump to actions/checkout@v4 and actions/setup-python@v5 #173

Workflow file for this run

on: [ push, pull_request ]
permissions:
contents: read
jobs:
python-black:
runs-on: ubuntu-22.04
steps:
- name: Checkout the repo
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip install black
- run: black test/
- run: git diff --exit-code || (echo "Please run black to reformat Python files" && false)