diff --git a/.github/workflows/_tox.yml b/.github/workflows/_tox.yml index fc13707f8..7b386d72b 100644 --- a/.github/workflows/_tox.yml +++ b/.github/workflows/_tox.yml @@ -21,4 +21,7 @@ jobs: run: helm plugin install https://github.com/losisin/helm-values-schema-json.git --version 2.3.1 - name: Run tox + env: + # To allow pyright version to be latest and not decided by the uv.lock + PYRIGHT_PYTHON_FORCE_VERSION: latest run: uv run --locked tox -e ${{ inputs.tox }} diff --git a/.github/workflows/asyncapi.yml b/.github/workflows/asyncapi.yml index 088a3bf61..19f57998b 100644 --- a/.github/workflows/asyncapi.yml +++ b/.github/workflows/asyncapi.yml @@ -7,7 +7,7 @@ on: branches: - main tags: - - '*' + - "*" pull_request: merge_group: types: [checks_requested] @@ -19,6 +19,7 @@ jobs: steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - name: check asyncapi.yaml file - uses: WaleedAshraf/asyncapi-github-action@d31f1627ac7c24132e7c4e4b89948d43b619685a # v0.0.10 + uses: asyncapi/cli@fb73ff3a429c1bc6a14c1b89f12601288677b9fa # v6.0.2 with: + command: validate filepath: "./docs/reference/asyncapi.yaml" diff --git a/prek.toml b/prek.toml index d42d0d01e..ee0c93112 100644 --- a/prek.toml +++ b/prek.toml @@ -13,7 +13,7 @@ hooks = [ [[repos]] repo = "https://github.com/astral-sh/ruff-pre-commit" -rev = "v0.15.1" +rev = "v0.15.20" hooks = [ { id = "ruff-check", args = ["--fix"] }, { id = "ruff-format" }, @@ -21,7 +21,7 @@ hooks = [ [[repos]] repo = "https://github.com/astral-sh/uv-pre-commit" -rev = "0.10.2" +rev = "0.11.26" hooks = [ { id = "uv-sync", args = [] }, ] @@ -29,16 +29,16 @@ hooks = [ [[repos]] repo = "https://github.com/norwoodj/helm-docs" rev = "v1.14.2" -hooks = [{ id = "helm-docs-built", args = ["--chart-search-root=helm"] }] +hooks = [{ id = "helm-docs-container", args = ["--chart-search-root=helm"] }] [[repos]] repo = "https://github.com/losisin/helm-values-schema-json" -rev = "v2.3.1" +rev = "v2.5.0" hooks = [ { id = "helm-schema", args = ["--config", "helm/blueapi/.schema.yaml"] } ] [[repos]] repo = "https://github.com/gitleaks/gitleaks" -rev = "v8.28.0" -hooks = [{ id = "gitleaks" }] +rev = "v8.30.1" +hooks = [{ id = "gitleaks-docker" }]