pull/6/head
Yax 3 years ago
parent 04ad1674a9
commit 4ea176f825

@ -1,4 +1,4 @@
name: Lint name: lint
on: on:
push: push:
@ -7,15 +7,24 @@ on:
jobs: jobs:
flake8_py3: flake8_py3:
runs-on: ubuntu-latest strategy:
fail-fast: false
matrix:
python-version: [3.9.9]
poetry-version: [1.1.12]
os: [ubuntu-18.04]
runs-on: ${{ matrix.os }}
steps: steps:
- name: Setup Python - uses: actions/checkout@v2
uses: actions/setup-python@v1 - uses: actions/setup-python@v2
with: with:
python-version: 3.9.9 python-version: ${{ matrix.python-version }}
architecture: x64 - name: Run image
- name: Checkout Stacosys uses: abatilo/actions-poetry@v2.0.0
uses: actions/checkout@master with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: poetry install
- name: Install flake8 - name: Install flake8
run: pip install flake8 run: pip install flake8
- name: Run flake8 - name: Run flake8
@ -23,4 +32,4 @@ jobs:
with: with:
checkName: 'flake8_py3' # NOTE: this needs to be the same as the job name checkName: 'flake8_py3' # NOTE: this needs to be the same as the job name
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.ACTION_GITHUB_TOKEN }}
Loading…
Cancel
Save