diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index e918979..84c62cb 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -13,9 +13,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - with: - # This is a bit heavy handed, but we need `origin/main` to get a ref to diff against - fetch-depth: 0 - name: Setup Python uses: actions/setup-python@v3 @@ -29,5 +26,4 @@ jobs: - name: Run Flake8 Lint run: | - DIFF="$(git --no-pager diff -u $(git merge-base HEAD origin/main) -- '**/*.py')" - echo "$DIFF" | flake8 --diff + flake8