Skip to content

Commit

Permalink
Ensure black formatting stability in workflow (#43)
Browse files Browse the repository at this point in the history
* ensure black formatting stability

use psf/black@latest and set stability version to avoid workflow breaking

as per https://black.readthedocs.io/en/stable/integrations/github_actions.html#usage

* pin black action version

* upgrade black action
  • Loading branch information
bj00rn committed Mar 26, 2024
1 parent 171deff commit 70c94b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.2
- uses: psf/black@22.8.0
- uses: psf/black@24.3.0
with:
version: "~= 22.0"

0 comments on commit 70c94b9

Please sign in to comment.