Skip to content

Commit 2c091ad

Browse files
committed
fix workflows
1 parent 3b34c06 commit 2c091ad

File tree

3 files changed

+9
-17
lines changed

3 files changed

+9
-17
lines changed

.github/workflows/analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Set up Python
6060
uses: actions/setup-python@v1
6161
with:
62-
python-version: 3.9
62+
python-version: 3.8
6363

6464
- name: Set up Poetry
6565
uses: Gr1N/setup-poetry@v4

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
strategy:
2121
matrix:
22-
python-version: [ 3.9 ]
22+
python-version: [ 3.8 ]
2323

2424
steps:
2525
- name: Checkout source

.github/workflows/coverage_and_lint.yaml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,20 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15-
- name: Setup Python 3.9
15+
- name: Setup Python 3.8
1616
uses: actions/setup-python@v1
1717
with:
18-
python-version: 3.9
19-
20-
- name: Install Poetry
21-
uses: snok/[email protected]
22-
23-
- name: Setup node.js (pyright)
24-
uses: actions/setup-node@v1
25-
with:
26-
node-version: "14"
18+
python-version: 3.8
2719

2820
- name: Install Python deps
2921
run: |
30-
poetry install --no-dev
31-
poetry run pip install .
22+
pip install .
3223
3324
- name: Type Coverage
34-
run: |
35-
npm install -g pyright
36-
poetry run pyright --lib --ignoreexternal --verifytypes mystbin
25+
uses: jakebailey/pyright-action@v1
26+
with:
27+
python-version: 3.8
28+
project: "pyproject.toml"
3729

3830
- name: Lint
3931
uses: github/super-linter@v4

0 commit comments

Comments
 (0)