diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 9b5487753d..6371fd9b96 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -13,4 +13,4 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/shellcheck.yml b/.github/workflows/shellcheck.yml index 40a31c0d4e..0448006cc8 100644 --- a/.github/workflows/shellcheck.yml +++ b/.github/workflows/shellcheck.yml @@ -17,13 +17,13 @@ jobs: steps: - name: Repository checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - id: ShellCheck name: Differential ShellCheck - uses: redhat-plumbers-in-action/differential-shellcheck@v4 + uses: redhat-plumbers-in-action/differential-shellcheck@v5 with: exclude-path: | tests/** @@ -33,7 +33,7 @@ jobs: - if: ${{ always() }} name: Upload artifact with ShellCheck defects in SARIF format - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Differential ShellCheck SARIF path: ${{ steps.ShellCheck.outputs.sarif }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3ef1f50d14..eb8ef46149 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/hhatto/autopep8 - rev: 'v2.1.0' + rev: 'v2.3.1' hooks: - id: autopep8 @@ -21,7 +21,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.9.0" + rev: "v1.11.2" hooks: - id: mypy # TODO: find out how to amend mypy, pyright, pre-commit and package requirements. @@ -65,7 +65,7 @@ repos: args: [--config-file=pyproject.toml] - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.357 + rev: v1.1.382 hooks: - id: pyright # TODO: find out how to amend mypy, pyright, pre-commit and package requirements. @@ -106,7 +106,7 @@ repos: - "types-docutils" - repo: https://github.com/python-jsonschema/check-jsonschema - rev: "0.28.1" + rev: "0.29.2" hooks: - id: check-metaschema name: "Check JSON schemas validity" @@ -119,7 +119,7 @@ repos: files: ^tmt/schemas/.*\.yaml - repo: https://github.com/ansible-community/ansible-lint.git - rev: v24.2.1 + rev: v24.9.2 hooks: - id: ansible-lint args: @@ -135,7 +135,7 @@ repos: # in order to be parsed by ansible-lint - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.3.5 + rev: v0.6.8 hooks: - id: ruff args: @@ -143,7 +143,7 @@ repos: - '--show-fixes' - repo: https://github.com/teemtee/tmt.git - rev: 1.32.1 + rev: 1.36.1 hooks: - id: tmt-lint additional_dependencies: @@ -154,7 +154,7 @@ repos: # There is *a lot* of them, and hatch might fetch many of them. - "botocore>=1.25.10" # 1.25.10 is the current one available for RHEL9 - repo: https://github.com/codespell-project/codespell - rev: v2.2.6 + rev: v2.3.0 hooks: - id: codespell additional_dependencies: