diff options
| author | 2020-11-22 13:47:06 +0200 | |
|---|---|---|
| committer | 2020-11-22 13:47:06 +0200 | |
| commit | 68a5c5f3cd90a01f754d0f8bd43aff64326c9cfa (patch) | |
| tree | 1849d05ee85f697765b3cbe5c26314ac8c1d129c | |
| parent | Run flake8 in verbose mode for debugging in GH Actions (diff) | |
Try to use flake8 action instead manual run
| -rw-r--r-- | .github/workflows/forms-backend.yml | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/.github/workflows/forms-backend.yml b/.github/workflows/forms-backend.yml index ffc0eb7..ad68a17 100644 --- a/.github/workflows/forms-backend.yml +++ b/.github/workflows/forms-backend.yml @@ -41,9 +41,17 @@ jobs:          run: |            poetry install +      # Commented out during testing other ways        # This implemention allows showing linting errors in PRs under Files tab. +      # - name: Run flake8 +      #   run: "poetry run flake8 --format='::error file=%(path)s,line=%(row)d,col=%(col)d::[flake8] %(code)s: %(text)s' --verbose" +        - name: Run flake8 -        run: "poetry run flake8 --format='::error file=%(path)s,line=%(row)d,col=%(col)d::[flake8] %(code)s: %(text)s' --verbose" +        uses: suo/flake8-github-action@releases/v1 +        with: +          checkName: 'lint' +        env: +          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}    build:      name: Build & Push | 
