Created
November 4, 2023 09:45
-
-
Save moonstruck/acc299c8e5c31d873fcd588aa00bbb82 to your computer and use it in GitHub Desktop.
check_code_quality.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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