From 621ebcc2f56bfb2fadb5340d1f76772643cb2ffe Mon Sep 17 00:00:00 2001 From: Cromha <87318892+OcelotWalrus@users.noreply.github.com> Date: Fri, 12 Jan 2024 18:03:12 +0100 Subject: [PATCH] workflow_progress - added `python_checks.yaml` workflow --- .github/workflows/python_check.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/python_check.yaml diff --git a/.github/workflows/python_check.yaml b/.github/workflows/python_check.yaml new file mode 100644 index 0000000..236159e --- /dev/null +++ b/.github/workflows/python_check.yaml @@ -0,0 +1,28 @@ +name: Python Syntax Checks + +on: + push: + branches: + - master + pull_request: + branches: [ master ] + types: + - synchronize + - opened + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }} + cancel-in-progress: false + +jobs: + lint: + name: Python Syntax Checks + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + show-progress: false + - uses: cclauss/Find-Python-syntax-errors-action@master