diff --git a/.github/workflows/autoblack.yml b/.github/workflows/autoblack.yml index 81c441bf..d0ef3531 100644 --- a/.github/workflows/autoblack.yml +++ b/.github/workflows/autoblack.yml @@ -8,16 +8,16 @@ jobs: name: Check / auto apply black runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check files using the black formatter - uses: rickstaa/action-black@v1 - id: action_black + uses: psf/black@v24 + id: black with: black_args: "." continue-on-error: true - name: Create Pull Request if: steps.action_black.outputs.is_formatted == 'true' - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v6 with: token: ${{ secrets.GITHUB_TOKEN }} title: "Format Python code with Black" diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml index baa9a1f0..76735e29 100644 --- a/.github/workflows/i18n.yml +++ b/.github/workflows/i18n.yml @@ -8,7 +8,7 @@ jobs: name: Autoreformat locale files runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Apply reformating scripts id: action_reformat run: | @@ -18,7 +18,7 @@ jobs: git diff -w --exit-code - name: Create Pull Request if: ${{ failure() }} - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v6 with: token: ${{ secrets.GITHUB_TOKEN }} title: "Reformat locale files" diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index e50de2aa..10c7e6ee 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -14,9 +14,9 @@ jobs: matrix: python-version: [3.9] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install apt dependencies @@ -34,9 +34,9 @@ jobs: matrix: python-version: [3.9] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install tox