Skip to content

Commit 1f649c4

Browse files
committed
fix: gh actions fix bllint issue
1 parent 5c15ec3 commit 1f649c4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/preflight_check.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ on:
1010

1111
jobs:
1212
lint:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-22.04
1414
strategy:
1515
matrix:
16-
python-version: [3.6.15, 3.7.17, 3.8.18]
16+
python-version: ["3.8", "3.9", "3.10"]
1717
steps:
1818
- uses: actions/checkout@v4
1919
- name: Set up Python ${{ matrix.python-version }}
@@ -28,16 +28,16 @@ jobs:
2828
uses: psf/black@stable
2929
with:
3030
options: "--check -l 79 --exclude docs/"
31-
version: "24.10.0"
31+
version: "22.8.0"
3232
- name: Format checker with isort
3333
run: isort --check-only -m 3 -l 79 --profile=black .
3434
- name: Lint with flake8
3535
run: flake8 --exclude test,docs,examples .
3636
test:
37-
runs-on: ubuntu-latest
37+
runs-on: ubuntu-22.04
3838
strategy:
3939
matrix:
40-
python-version: [3.5.10, 3.6.15, 3.7.17, 3.8.18]
40+
python-version: ["3.7", "3.8", "3.9", "3.10"]
4141
steps:
4242
- uses: actions/checkout@v4
4343
- name: Setup Python ${{ matrix.python-version }}
@@ -65,7 +65,7 @@ jobs:
6565
coveralls:
6666
name: Finish Coveralls
6767
needs: test
68-
runs-on: ubuntu-latest
68+
runs-on: ubuntu-22.04
6969
container: python:3-slim
7070
steps:
7171
- name: Finished

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
black==24.10.0
1+
black==22.8.0
22
defusedxml==0.6.0
33
isort==5.6.4
44
pre-commit

0 commit comments

Comments
 (0)