fix python version
This commit is contained in:
parent
3f5dcb39a7
commit
443213abcf
1 changed files with 3 additions and 11 deletions
14
.github/workflows/lint.yml
vendored
14
.github/workflows/lint.yml
vendored
|
@ -2,23 +2,15 @@ name: lint
|
||||||
on: push
|
on: push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
flake8_py3:
|
lint:
|
||||||
strategy:
|
runs-on: ubuntu-latest
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
python-version: [3.9.9]
|
|
||||||
poetry-version: [1.1.12]
|
|
||||||
os: [ubuntu-18.04]
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v2
|
||||||
with:
|
|
||||||
python-version: ${{ matrix.python-version }}
|
|
||||||
- name: Run image
|
- name: Run image
|
||||||
uses: abatilo/actions-poetry@v2.0.0
|
uses: abatilo/actions-poetry@v2.0.0
|
||||||
with:
|
with:
|
||||||
poetry-version: ${{ matrix.poetry-version }}
|
poetry-version: 1.1.12
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: poetry install
|
run: poetry install
|
||||||
- uses: grantmcconnaughey/lintly-flake8-github-action@v1.0
|
- uses: grantmcconnaughey/lintly-flake8-github-action@v1.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue