From cd83c7fedaafafaff80c17322ad970e09567ce1c Mon Sep 17 00:00:00 2001 From: BarbUk Date: Sat, 4 Apr 2026 23:49:03 +0400 Subject: [PATCH 1/5] Update precommit hooks with 10 days cooldown and pin to sha1 commit --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8615c4d14..92f2686e8b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ minimum_pre_commit_version: 1.18.1 exclude: "docs/_build/|vendor/" repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.3.0 + rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # frozen: v6.0.0 hooks: - id: trailing-whitespace exclude: ".(md|rst)$" @@ -15,14 +15,14 @@ repos: - id: mixed-line-ending - id: check-added-large-files - repo: https://github.com/jumanjihouse/pre-commit-hooks - rev: 2.1.5 + rev: 38980559e3a605691d6579f96222c30778e5a69e # frozen: 3.0.0 hooks: - id: git-check # Configure in .gitattributes - id: shellcheck files: "\\.(bash)$" - id: shfmt - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.1.7 + rev: ad1b27d73581aa16cca06fc4a0761fc563ffe8e8 # frozen: v1.5.6 hooks: # - id: forbid-crlf - id: remove-crlf From 699e01b1763c677543b5be0bb316963a1a1fb0f2 Mon Sep 17 00:00:00 2001 From: BarbUk Date: Sun, 5 Apr 2026 00:00:53 +0400 Subject: [PATCH 2/5] Pin github action to sha releases --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3298175e7..906b4f5661 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Install greadlink if: startsWith(runner.os, 'macOS') run: brew install coreutils @@ -26,9 +26,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: 3.8 - name: Install docs dependencies @@ -40,13 +40,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: go-version: 1.21.0 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: 3.8 - name: Install shfmt @@ -71,12 +71,12 @@ jobs: steps: - name: Repository checkout - uses: actions/checkout@v4 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - id: ShellCheck name: Differential ShellCheck - uses: redhat-plumbers-in-action/differential-shellcheck@v5 + uses: redhat-plumbers-in-action/differential-shellcheck@d965e66ec0b3b2f821f75c8eff9b12442d9a7d1e # v5.5.6 with: token: ${{ secrets.GITHUB_TOKEN }} From 4c304d85251771d2604e4b5f04e1a7130dd98299 Mon Sep 17 00:00:00 2001 From: BarbUk Date: Sun, 5 Apr 2026 00:05:33 +0400 Subject: [PATCH 3/5] Bump go version to 1.25.8 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 906b4f5661..c129fc63aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 with: - go-version: 1.21.0 + go-version: 1.25.8 - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: From 9b460887741dd5a573d173f376eea77539823e96 Mon Sep 17 00:00:00 2001 From: BarbUk Date: Sun, 5 Apr 2026 21:36:17 +0400 Subject: [PATCH 4/5] Update python to 3.12 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c129fc63aa..c09bb0bd27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: - python-version: 3.8 + python-version: 3.12 - name: Install docs dependencies run: python3 -m pip install -r docs/requirements.txt - name: Build the docs @@ -48,7 +48,7 @@ jobs: - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: - python-version: 3.8 + python-version: 3.12 - name: Install shfmt run: go install mvdan.cc/sh/v3/cmd/shfmt@latest - name: Install shellcheck From d28824b8b713eaf75bf93a8c6f6442237c4580e4 Mon Sep 17 00:00:00 2001 From: BarbUk Date: Sun, 5 Apr 2026 21:46:23 +0400 Subject: [PATCH 5/5] Update python deps to fixed version --- docs/requirements.txt | 8 ++++---- test/lint-requirements.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 7b7fcdd1ff..2a806fe0ab 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -sphinx==4.5.0 -sphinx-rtd-theme==0.5.0 -sphinxemoji==0.1.8 -docutils==0.17.1 +sphinx==9.1.0 +sphinx-rtd-theme==3.1.0 +sphinxemoji==0.3.2 +docutils==0.22.4 diff --git a/test/lint-requirements.txt b/test/lint-requirements.txt index 72224bf87c..fc23792238 100644 --- a/test/lint-requirements.txt +++ b/test/lint-requirements.txt @@ -1 +1 @@ -pre-commit==2.3.0 +pre-commit==4.5.1