diff --git a/.github/workflows/Lint.yml b/.github/workflows/Lint.yml index 4dcd336..b03eac8 100644 --- a/.github/workflows/Lint.yml +++ b/.github/workflows/Lint.yml @@ -28,7 +28,8 @@ jobs: run: | pip install . lintrunner init - - name: Run lintrunner on all files + - name: Run lintrunner on all files - Linux + if: matrix.os != 'windows-latest' run: | set +e if ! lintrunner -v --force-color --all-files --tee-json=lint.json; then @@ -36,6 +37,9 @@ jobs: echo -e "\e[1m\e[36mYou can reproduce these results locally by using \`lintrunner -m main\`.\e[0m" exit 1 fi + - name: Run lintrunner on all files - Windows + if: matrix.os == 'windows-latest' + run: lintrunner -v --force-color --all-files - name: Produce SARIF if: always() && matrix.os == 'ubuntu-latest' run: |