File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ jobs:
1616
1717 steps :
1818 - name : Checkout
19- uses : actions/checkout@v2
19+ uses : actions/checkout@v4
2020
2121 - name : Set up Python ${{ matrix.python-version }}
22- uses : actions/setup-python@v2
22+ uses : actions/setup-python@v5
2323 with :
2424 python-version : ${{ matrix.python-version }}
2525
@@ -44,19 +44,18 @@ jobs:
4444 runs-on : ubuntu-latest
4545 steps :
4646 - name : Checkout
47- uses : actions/checkout@v2
47+ uses : actions/checkout@v4
48+
49+ - name : Set up Python
50+ uses : actions/setup-python@v5
4851 with :
49- fetch-depth : 0
52+ python-version : ' 3.12'
53+
54+ - name : Install black
55+ run : pip install "$(grep '^black==' requirements_dev.txt)"
5056
51- - name : Super-Linter
52- uses : github/super-linter@v4.9.2
53- env :
54- VALIDATE_ALL_CODEBASE : false
55- VALIDATE_PYTHON_BLACK : true
56- DEFAULT_BRANCH : master
57- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58- LINTER_RULES_PATH : /
59- PYTHON_BLACK_CONFIG_FILE : pyproject.toml
57+ - name : Check formatting with black
58+ run : black --check --diff .
6059
6160 coveralls :
6261 name : Indicate completion to coveralls.io
Original file line number Diff line number Diff line change 11-r requirements.txt
2- setuptools==60.2.0
2+ setuptools==60.2.0
3+ black==25.1.0
You can’t perform that action at this time.
0 commit comments