Skip to content

Instantly share code, notes, and snippets.

@omonimus1
Created May 13, 2022 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omonimus1/01438963f8db56e1bfe6845096a91987 to your computer and use it in GitHub Desktop.
Save omonimus1/01438963f8db56e1bfe6845096a91987 to your computer and use it in GitHub Desktop.
name: Lint
on:
push:
branches: [ develop, master, staging ]
pull_request:
branches: [ develop, master, staging ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 4
environment:
name: development
strategy:
max-parallel: 4
matrix:
python-version: [3.10]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Check Code via Flake8
run: |
flake8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment