Skip to content

Commit

Permalink
Fix continue-on-error
Browse files Browse the repository at this point in the history
  • Loading branch information
srittau committed Mar 30, 2024
1 parent 88ae85f commit abc7a9c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,44 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: "3.11"
# - uses: srittau/black@dev # default
- uses: srittau/black@dev # default
continue-on-error: true
- uses: srittau/black@dev # fixed version
continue-on-error: true
with:
version: 24.2.0
- uses: srittau/black@dev # pattern
continue-on-error: true
with:
use_pyproject: false
version: ~=24.*
- uses: srittau/black@dev # pyproject
continue-on-error: true
with:
use_pyproject: true
- uses: srittau/black@dev # pyproject
continue-on-error: true
with:
use_pyproject: on
- uses: srittau/black@dev # error
continue-on-error: true
with:
use_pyproject: true
version: 24.2.0

old-python:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: srittau/black@dev # fixed version
continue-on-error: true
with:
version: 24.2.0
- uses: srittau/black@dev # pyproject
continue-on-error: true
with:
use_pyproject: true

0 comments on commit abc7a9c

Please sign in to comment.