From 4a345c8b9492156fb330cc01bce45e6fcb3ef745 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 22 Jul 2026 15:44:04 +0000 Subject: [PATCH 1/2] chore(deps): update dependency https://github.com/hugoh/go-tools.git to v1.15.2 --- .copier-answers.yml | 2 +- .github/workflows/ci.yml | 6 +++--- hk.pkl | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index b03487c..fa469eb 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v1.15.1 +_commit: v1.15.2 _src_path: https://github.com/hugoh/go-tools.git cog_omit_types: - lint diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5ae4bd..7e2da17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,18 +18,18 @@ permissions: {} jobs: hk: - uses: hugoh/go-tools/.github/workflows/go-hk.yml@3a5ed7a29b7050910c88e017ac557659234e3230 + uses: hugoh/go-tools/.github/workflows/go-hk.yml@12c4867921e0651aec978809149e39f804c4a3d3 permissions: contents: read goci: - uses: hugoh/go-tools/.github/workflows/go-ci.yml@3a5ed7a29b7050910c88e017ac557659234e3230 + uses: hugoh/go-tools/.github/workflows/go-ci.yml@12c4867921e0651aec978809149e39f804c4a3d3 permissions: contents: read release: needs: [hk, goci] - uses: hugoh/go-tools/.github/workflows/go-release.yml@3a5ed7a29b7050910c88e017ac557659234e3230 + uses: hugoh/go-tools/.github/workflows/go-release.yml@12c4867921e0651aec978809149e39f804c4a3d3 permissions: contents: write with: diff --git a/hk.pkl b/hk.pkl index 5aaea4e..517c91c 100644 --- a/hk.pkl +++ b/hk.pkl @@ -1,6 +1,6 @@ amends "package://github.com/jdx/hk/releases/download/v1.52.0/hk@1.52.0#/Config.pkl" import "package://github.com/jdx/hk/releases/download/v1.52.0/hk@1.52.0#/Builtins.pkl" -import "package://github.com/hugoh/hk-config/releases/download/v1.1.0/hk-config@1.1.0#/base.pkl" as Base +import "package://github.com/hugoh/hk-config/releases/download/v1.2.0/hk-config@1.2.0#/base.pkl" as Base min_hk_version = Base.min_hk_version From 1c1cad3c7ae6bd3d4cd7b9e661e4afd9fa328df3 Mon Sep 17 00:00:00 2001 From: Hugo Haas Date: Wed, 22 Jul 2026 18:48:44 -0500 Subject: [PATCH 2/2] chore(deps): update dependency https://github.com/hugoh/go-tools.git to v1.15.3 --- .copier-answers.yml | 4 +--- .github/workflows/ci.yml | 6 +++--- cog.toml | 3 --- hk.pkl | 13 ++++++------- mise-tasks/lint-deadcode | 4 ++-- 5 files changed, 12 insertions(+), 18 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index fa469eb..73c0c2a 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,8 +1,6 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v1.15.2 +_commit: v1.15.3 _src_path: https://github.com/hugoh/go-tools.git -cog_omit_types: -- lint coverage_total: 80 golangci_extra_disable: - depguard diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e2da17..fafdb85 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,18 +18,18 @@ permissions: {} jobs: hk: - uses: hugoh/go-tools/.github/workflows/go-hk.yml@12c4867921e0651aec978809149e39f804c4a3d3 + uses: hugoh/go-tools/.github/workflows/go-hk.yml@8e26d75a74a7078a77ff31f6a844f8bbf8ad0729 permissions: contents: read goci: - uses: hugoh/go-tools/.github/workflows/go-ci.yml@12c4867921e0651aec978809149e39f804c4a3d3 + uses: hugoh/go-tools/.github/workflows/go-ci.yml@8e26d75a74a7078a77ff31f6a844f8bbf8ad0729 permissions: contents: read release: needs: [hk, goci] - uses: hugoh/go-tools/.github/workflows/go-release.yml@12c4867921e0651aec978809149e39f804c4a3d3 + uses: hugoh/go-tools/.github/workflows/go-release.yml@8e26d75a74a7078a77ff31f6a844f8bbf8ad0729 permissions: contents: write with: diff --git a/cog.toml b/cog.toml index 407379c..5490d0e 100644 --- a/cog.toml +++ b/cog.toml @@ -2,6 +2,3 @@ tag_prefix = "v" disable_changelog = true disable_bump_commit = true ignore_merge_commits = true - -[commit_types] -lint = { omit_from_changelog = true } diff --git a/hk.pkl b/hk.pkl index 517c91c..d78ffae 100644 --- a/hk.pkl +++ b/hk.pkl @@ -9,7 +9,7 @@ local linters = new Mapping { ...Base.shell // go generate output can legitimately end without touching trailing // whitespace elsewhere in the file; base's check conflicts with that - ["trailing-ws"] = (Builtins.trailing_whitespace) { + ["trailing_whitespace"] = (Builtins.trailing_whitespace) { condition = "false" } // hugoh/go-tools' own self-referential workflow pins are rendered by this @@ -30,19 +30,19 @@ local linters = new Mapping { } // Same copier-serializer quirk as above: it omits the trailing newline // ryl's new-line-at-end-of-file rule expects - ["yaml"] = (Builtins.ryl) { + ["ryl"] = (Builtins.ryl) { exclude = List(".copier-answers.yml") } - ["golangci-lint-config"] = { + ["golangci_lint_config"] = { check = "golangci-lint config verify" } - ["golangci-lint"] = (Builtins.golangci_lint) { + ["golangci_lint"] = (Builtins.golangci_lint) { profiles = List("!ci") } - ["gomod-tidy"] = (Builtins.gomod_tidy) { + ["gomod_tidy"] = (Builtins.gomod_tidy) { profiles = List("!ci") } - ["conventional-commit"] { + ["conventional_commit"] { check = "cog check --from-latest-tag" } ["govulncheck"] = { @@ -74,7 +74,6 @@ hooks { } ["commit-msg"] { steps = new Mapping { - ["check-conventional-commit"] = Builtins.check_conventional_commit ["cocogitto_commit_msg"] = Builtins.cocogitto_commit_msg } } diff --git a/mise-tasks/lint-deadcode b/mise-tasks/lint-deadcode index e89a6ed..a3feda9 100755 --- a/mise-tasks/lint-deadcode +++ b/mise-tasks/lint-deadcode @@ -5,6 +5,6 @@ flags=() [ "${usage_test:-}" != "" ] && flags+=(-test) if deadcode "${flags[@]}" ./... 2>&1 | grep .; then - echo 'dead code found' - exit 1 + echo 'dead code found' + exit 1 fi