From 537954f2574e888cd9dfd57f242609ab0de2d908 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 16 Sep 2026 16:37:56 +0000 Subject: [PATCH 1/3] chore(deps): update dependency go to v1.26.6 --- mise.lock | 12 ++++-------- mise.toml | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/mise.lock b/mise.lock index 1901f0d34..4d9ad91b4 100644 --- a/mise.lock +++ b/mise.lock @@ -20,17 +20,13 @@ url_api = "https://api.github.com/repos/cli/cli/releases/assets/542974295" provenance = "github-attestations" [[tools.go]] -version = "1.26.5" +version = "1.26.6" backend = "core:go" -specifiers = ["1.26.5"] +specifiers = ["1.26.6"] [tools.go."platforms.linux-x64"] -checksum = "sha256:5c2c3b16caefa1d968a94c1daca04a7ca301a496d9b086e17ad77bb81393f053" -url = "https://dl.google.com/go/go1.26.5.linux-amd64.tar.gz" - -[tools.go."platforms.macos-arm64"] -checksum = "sha256:efb87ff28af9a188d0536ef5d42e63dd52ba8263cd7344a993cc48dd11dedb6a" -url = "https://dl.google.com/go/go1.26.5.darwin-arm64.tar.gz" +checksum = "sha256:708effb774be8237570d0add163225abbdfaf4fca28b2611df167beba4feef89" +url = "https://dl.google.com/go/go1.26.6.linux-amd64.tar.gz" [[tools.golangci-lint]] version = "2.12.2" diff --git a/mise.toml b/mise.toml index 51ef2f3c1..69a92a5c0 100644 --- a/mise.toml +++ b/mise.toml @@ -7,7 +7,7 @@ lockfile_platforms = ["linux-x64"] locked = true [tools] -go = "1.26.5" +go = "1.26.6" node = "24" task = "3.53.1" golangci-lint = "2.12.2" From 883c74ebd3fa803d4d9eb847122b109658138901 Mon Sep 17 00:00:00 2001 From: Samuel K Date: Thu, 17 Sep 2026 18:47:17 +0000 Subject: [PATCH 2/3] chore(deps): align Go and golangci-lint versions --- .github/workflows/pr-ci.yml | 2 +- .golangci-version | 2 +- .pre-commit-config.yaml | 6 +++--- go.mod | 2 +- mise.lock | 16 +++++----------- mise.toml | 2 +- renovate.json | 4 ++-- 7 files changed, 14 insertions(+), 20 deletions(-) diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index 8500a6ac6..e4bc09b66 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -56,7 +56,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9 with: - version: v2.12.2 + version: v2.13.2 only-new-issues: true can-read-secret: diff --git a/.golangci-version b/.golangci-version index 6f9cc441d..095c2a17d 100644 --- a/.golangci-version +++ b/.golangci-version @@ -1 +1 @@ -v2.12.2 +v2.13.2 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eb88877d2..d3465b858 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -59,13 +59,13 @@ repos: - id: commitizen stages: [commit-msg] - repo: https://github.com/golangci/golangci-lint - rev: v2.12.2 + rev: v2.13.2 hooks: - id: golangci-lint - language_version: 1.26.5 + language_version: 1.26.6 args: ["--timeout=10m"] - id: golangci-lint-fmt - language_version: 1.26.5 + language_version: 1.26.6 - repo: local hooks: - id: golangci-lint-ci-parity diff --git a/go.mod b/go.mod index cdb207628..de4ab2074 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/devsy-org/devsy -go 1.26.5 +go 1.26.6 require ( al.essio.dev/pkg/shellescape v1.6.0 diff --git a/mise.lock b/mise.lock index 4d9ad91b4..ed337896f 100644 --- a/mise.lock +++ b/mise.lock @@ -29,20 +29,14 @@ checksum = "sha256:708effb774be8237570d0add163225abbdfaf4fca28b2611df167beba4fee url = "https://dl.google.com/go/go1.26.6.linux-amd64.tar.gz" [[tools.golangci-lint]] -version = "2.12.2" +version = "2.13.2" backend = "aqua:golangci/golangci-lint" -specifiers = ["2.12.2"] +specifiers = ["2.13.2"] [tools.golangci-lint."platforms.linux-x64"] -checksum = "sha256:8df580d2670fed8fa984aac0507099af8df275e665215f5c7a2ae3943893a553" -url = "https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz" -url_api = "https://api.github.com/repos/golangci/golangci-lint/releases/assets/413471054" -provenance = "github-attestations" - -[tools.golangci-lint."platforms.macos-arm64"] -checksum = "sha256:a9c54498731b3128f79e090be6110f3e5fffccc617b08142ed244d4126c73f29" -url = "https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-darwin-arm64.tar.gz" -url_api = "https://api.github.com/repos/golangci/golangci-lint/releases/assets/413470950" +checksum = "sha256:2277d43b98ec0054280f2ac26b53268bae97682444678a59a657dd565da021d6" +url = "https://github.com/golangci/golangci-lint/releases/download/v2.13.2/golangci-lint-2.13.2-linux-amd64.tar.gz" +url_api = "https://api.github.com/repos/golangci/golangci-lint/releases/assets/532995333" provenance = "github-attestations" [[tools.node]] diff --git a/mise.toml b/mise.toml index 69a92a5c0..8b0c68ab7 100644 --- a/mise.toml +++ b/mise.toml @@ -10,7 +10,7 @@ locked = true go = "1.26.6" node = "24" task = "3.53.1" -golangci-lint = "2.12.2" +golangci-lint = "2.13.2" prek = "0.5.2" protoc = "36.1" gh = "2.100.0" diff --git a/renovate.json b/renovate.json index 475b16ff3..404c19e40 100644 --- a/renovate.json +++ b/renovate.json @@ -37,9 +37,9 @@ "matchManagers": ["pre-commit"], "matchPackageNames": ["https://github.com/golangci/golangci-lint"], "matchFileNames": [".pre-commit-config.yaml"], - "allowedVersions": "v2.12.2", + "allowedVersions": "v2.13.2", "automerge": false, - "description": "keep golangci-lint aligned with the pinned Go 1.26.5 toolchain" + "description": "keep golangci-lint aligned with the pinned Go 1.26.6 toolchain" }, { From a864d4624d835b29e12919168a22cf019fa9c78f Mon Sep 17 00:00:00 2001 From: Samuel K Date: Thu, 17 Sep 2026 21:08:48 +0000 Subject: [PATCH 3/3] style(go): apply golangci-lint formatting --- pkg/credentials/server.go | 2 +- pkg/pty/pty_windows.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/credentials/server.go b/pkg/credentials/server.go index 600e7b350..46ea8d39f 100644 --- a/pkg/credentials/server.go +++ b/pkg/credentials/server.go @@ -39,7 +39,7 @@ type CredentialsClient interface { ) (*tunnel.Message, error) } -var _ CredentialsClient = (tunnel.TunnelClient)(nil) +var _ CredentialsClient = tunnel.TunnelClient(nil) func RunCredentialsServer( ctx context.Context, diff --git a/pkg/pty/pty_windows.go b/pkg/pty/pty_windows.go index 48973632b..a3df377a0 100644 --- a/pkg/pty/pty_windows.go +++ b/pkg/pty/pty_windows.go @@ -176,10 +176,10 @@ func (p *ptyWindows) Resize(height uint16, width uint16) error { // Taken from: https://github.com/microsoft/hcsshim/blob/54a5ad86808d761e3e396aff3e2022840f39f9a8/internal/winapi/zsyscall_windows.go#L144 ret, _, err := procResizePseudoConsole.Call( uintptr(p.console), - uintptr(*((*uint32)(unsafe.Pointer(&windows.Coord{ + uintptr(*(*uint32)(unsafe.Pointer(&windows.Coord{ Y: int16(height), X: int16(width), - })))), + }))), ) if windows.Handle(ret) != windows.S_OK { return err