summaryrefslogtreecommitdiffstats
path: root/.github/workflows/black.yml
blob: 9fd5de4628ea49f2cb75cdaaea09a48aa947e9cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# GitHub actions workflow.
# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
# https://black.readthedocs.io/en/stable/integrations/github_actions.html

name: Format

on:
  push:
    branches: [main]

jobs:
  format:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5
      - uses: psf/black@stable