From d1f514468e862eab52d206445eaf3c732fa3682d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 10:59:39 +0000 Subject: [PATCH 1/2] ci(deps): bump jsonschema/oas3/tests/testsuite Bumps [jsonschema/oas3/tests/testsuite](https://github.com/json-schema-org/JSON-Schema-Test-Suite) from `4253477` to `584e550`. - [Release notes](https://github.com/json-schema-org/JSON-Schema-Test-Suite/releases) - [Commits](https://github.com/json-schema-org/JSON-Schema-Test-Suite/compare/4253477cdaadd6b324172b9617eba22f95436fae...584e550cf443b9f9b9f9a3f05fc0b2dbae178dfa) --- updated-dependencies: - dependency-name: jsonschema/oas3/tests/testsuite dependency-version: 584e550cf443b9f9b9f9a3f05fc0b2dbae178dfa dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- jsonschema/oas3/tests/testsuite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema/oas3/tests/testsuite b/jsonschema/oas3/tests/testsuite index 4253477..584e550 160000 --- a/jsonschema/oas3/tests/testsuite +++ b/jsonschema/oas3/tests/testsuite @@ -1 +1 @@ -Subproject commit 4253477cdaadd6b324172b9617eba22f95436fae +Subproject commit 584e550cf443b9f9b9f9a3f05fc0b2dbae178dfa From 590a89adb7d94259272c16e3b365b725b4d7dcf2 Mon Sep 17 00:00:00 2001 From: Tristan Cartledge Date: Tue, 2 Jun 2026 08:41:44 +1000 Subject: [PATCH 2/2] fix: run golangci-lint through mise --- .golangci.yaml | 3 +++ .mise-tasks/lint | 5 +++-- .mise.toml | 5 +++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.golangci.yaml b/.golangci.yaml index fb98ac3..9f6a3d6 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -52,6 +52,9 @@ linters: linters: - gosec settings: + govet: + disable: + - inline errcheck: exclude-functions: - (io.Closer).Close diff --git a/.mise-tasks/lint b/.mise-tasks/lint index 65521a4..b458803 100755 --- a/.mise-tasks/lint +++ b/.mise-tasks/lint @@ -3,10 +3,11 @@ set -euo pipefail echo "๐Ÿ” Running linting checks..." -GOLANGCI_VERSION=$(golangci-lint --version | sed -nE 's/.*golangci-lint has version ([0-9.]+).*/\1/p') +GOLANGCI_LINT=(mise exec -- golangci-lint) +GOLANGCI_VERSION=$("${GOLANGCI_LINT[@]}" --version | sed -nE 's/.*golangci-lint has version ([0-9.]+).*/\1/p') GOLANGCI_VERSION=${GOLANGCI_VERSION:-unknown} echo "๐Ÿงน Running golangci-lint v${GOLANGCI_VERSION} (includes go vet)..." -golangci-lint run +"${GOLANGCI_LINT[@]}" run echo "๐Ÿ›ก๏ธ Running nilaway..." NILAWAY_BIN=$(command -v nilaway || true) diff --git a/.mise.toml b/.mise.toml index 32ae94e..9db54f2 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,18 +1,19 @@ [tools] +golangci-lint = "2.12.2" gotestsum = "latest" [tasks.setup-vscode-symlinks] description = "Create VSCode symlinks for tools not automatically handled by mise-vscode" run = [ "mkdir -p .vscode/mise-tools", - "ln -sf $(mise exec golangci-lint@2.7.2 -- which golangci-lint) .vscode/mise-tools/golangci-lint", + "ln -sf $(mise exec -- which golangci-lint) .vscode/mise-tools/golangci-lint", ] [hooks] postinstall = [ "ln -sf ./AGENTS.md ./CLAUDE.md", "git submodule update --init --recursive", - "go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.7.2", + "mise install golangci-lint", "mise run setup-vscode-symlinks", "go install go.uber.org/nilaway/cmd/nilaway@8ad05f0", ]