From 1a804ed4e29c069a7f9448b4de864a9946daa40e Mon Sep 17 00:00:00 2001 From: David Gageot Date: Mon, 31 Aug 2026 14:28:46 +0200 Subject: [PATCH 1/2] chore(deps): bump testify to v1.12.1 Update the module's only direct dependency, github.com/stretchr/testify, from v1.11.1 to v1.12.1. The new release drops its go-spew and go-difflib dependencies and switches from gopkg.in/yaml.v3 to go.yaml.in/yaml/v3, so `go mod tidy` reduces the indirect set to a single entry. --- go.mod | 8 ++------ go.sum | 14 ++++---------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/go.mod b/go.mod index 432c241..0ad4ec6 100644 --- a/go.mod +++ b/go.mod @@ -2,10 +2,6 @@ module github.com/docker/portcullis go 1.26.5 -require github.com/stretchr/testify v1.11.1 +require github.com/stretchr/testify v1.12.1 -require ( - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect -) +require go.yaml.in/yaml/v3 v3.0.5 // indirect diff --git a/go.sum b/go.sum index c4c1710..c233683 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,4 @@ -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= -github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE= +github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg= +go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= +go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= From bc905f81d09168c02a8920eb4516086f0e70b4e8 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Mon, 31 Aug 2026 14:36:12 +0200 Subject: [PATCH 2/2] Use latest linters Signed-off-by: David Gageot --- .github/workflows/ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23722af..f6150dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,10 +10,10 @@ concurrency: on: workflow_dispatch: push: - branches: [main] - tags: ["v*"] + branches: [ main ] + tags: [ "v*" ] pull_request: - branches: [main] + branches: [ main ] jobs: lint: @@ -30,8 +30,6 @@ jobs: - name: Lint uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 - with: - version: v2.12.2 - name: Tidy check run: go mod tidy --diff >/dev/null || (echo 'go.mod/go.sum files are not tidy — run gogo tidy' && exit 1)