Skip to content

Instantly share code, notes, and snippets.

@moonstruck
Created November 4, 2023 09:45
Show Gist options
  • Save moonstruck/acc299c8e5c31d873fcd588aa00bbb82 to your computer and use it in GitHub Desktop.
Save moonstruck/acc299c8e5c31d873fcd588aa00bbb82 to your computer and use it in GitHub Desktop.
check_code_quality.yml
name: Workflow for checking code quality
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: pip install django flake8
- name: Lint with Flake8
run: flake8 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment