-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
T: bugSomething isn't workingSomething isn't working
Description
Describe the bug
GitHub Action fails with the latest version, 23.10.0. If I specify a version (e.g., 23.9.0), it works fine.
I have been using the GitHub Action snippet as described on this page.
To Reproduce
For example, take this code:
name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
options: "--check --verbose"
The resulting error is:
The GitHub Action raises an error.
Expected behavior
If I specify a black version like this, it works fine.
name: Lint
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@23.9.1
with:
options: "--check --verbose"
Environment
- Black's version: psf/black@stable (or 23.10.0)
- OS and Python version: GitHub Action
Additional context
annaks, jeffrylew, AlexMapley, ThomasWaldmann, M3gar00 and 1 more
Metadata
Metadata
Assignees
Labels
T: bugSomething isn't workingSomething isn't working