Skip to content

lint workflow: pin ubuntu version #121

lint workflow: pin ubuntu version

lint workflow: pin ubuntu version #121

Workflow file for this run

name: Python lint
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 flake8-import-order
- name: Lint with flake8
run: |
flake8 --statistics moai