diff options
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r-- | .github/workflows/lint.yml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 2091796b7..ddcd9d486 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,13 +6,13 @@ jobs: black: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: "Collect stragglers that Black misses" id: stragglers run: | - echo "::set-output name=missed::$( + echo "missed=$( find bin -type f -not -name '*.py' -not -name '*.sh' | \ - xargs grep -l '#!/usr/bin/env python' | tr $'\n' ' ')" + xargs grep -l '#!/usr/bin/env python' | tr $'\n' ' ')" >> $GITHUB_OUTPUT - uses: psf/black@24.1.1 with: src: . ${{ steps.stragglers.outputs.missed }} @@ -25,13 +25,12 @@ jobs: - '3.9' - '3.10' - '3.11' - # pylint currently broken under 3.12 - # - '3.12-dev' + - '3.12' fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install python dependencies |