diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..33c1f74 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: Python Lint with flake8 + +on: [push, pull_request] + +jobs: + flake8-lint: + runs-on: ubuntu-latest + name: Lint + steps: + - name: Check out source repository + uses: actions/checkout@v3 + - name: Set up Python environment + uses: actions/setup-python@v4 + with: + python-version: "3.12" + max-line-length: "120" + - name: flake8 + uses: py-actions/flake8@v2