From 26fabe75e8425b3e35074fcf4714e125c0717fce Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 02:21:42 +0000 Subject: [PATCH] chore(deps): update dependency https://github.com/hugoh/go-tools.git to v1.16.0 --- .copier-answers.yml | 3 +-- .editorconfig | 5 +++++ .github/workflows/ci.yml | 6 +++--- hk.pkl | 15 +++++++-------- 4 files changed, 16 insertions(+), 13 deletions(-) create mode 100644 .editorconfig diff --git a/.copier-answers.yml b/.copier-answers.yml index 41b965a..03518df 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,7 +1,6 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: v1.15.1 +_commit: v1.16.0 _src_path: https://github.com/hugoh/go-tools.git -cog_omit_types: [] coverage_total: 80 golangci_extra_disable: - depguard diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..91772ef --- /dev/null +++ b/.editorconfig @@ -0,0 +1,5 @@ +root = true + +[mise-tasks/*] +indent_size = 2 +indent_style = space diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5ae4bd..b9ca996 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@c71b73445cc92e9edbc7b98c1b17adc69c5649dd permissions: contents: read goci: - uses: hugoh/go-tools/.github/workflows/go-ci.yml@3a5ed7a29b7050910c88e017ac557659234e3230 + uses: hugoh/go-tools/.github/workflows/go-ci.yml@c71b73445cc92e9edbc7b98c1b17adc69c5649dd 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@c71b73445cc92e9edbc7b98c1b17adc69c5649dd permissions: contents: write with: diff --git a/hk.pkl b/hk.pkl index 5aaea4e..d78ffae 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 @@ -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 } }