From 55d6b146bbc3537b858b0053fa9231a455fbdb3a Mon Sep 17 00:00:00 2001 From: Shubharanshu Mahapatra Date: Mon, 9 Sep 2024 05:24:52 +0530 Subject: [PATCH] Update golangci-lint version and go mod cleanup Signed-off-by: Shubharanshu Mahapatra --- .github/workflows/test.yml | 2 +- go.mod | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1c471b7f80c..12a19929202 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -46,7 +46,7 @@ jobs: check-latest: true cache: true - name: golangci-lint - uses: golangci/golangci-lint-action@v3.7.0 + uses: golangci/golangci-lint-action@v6.1.0 with: version: v1.55.2 args: --verbose diff --git a/go.mod b/go.mod index bf3f22d3890..b831047abd3 100644 --- a/go.mod +++ b/go.mod @@ -65,13 +65,6 @@ require ( gotest.tools/v3 v3.5.1 ) -require ( - github.com/containerd/errdefs v0.1.0 // indirect - github.com/containerd/platforms v0.2.1 // indirect - github.com/moby/sys/user v0.3.0 // indirect - github.com/moby/sys/userns v0.1.0 // indirect -) - require ( github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20230306123547-8075edf89bb0 // indirect @@ -79,9 +72,13 @@ require ( github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect github.com/cilium/ebpf v0.11.0 // indirect github.com/containerd/cgroups v1.1.0 // indirect + github.com/containerd/errdefs v0.1.0 // indirect github.com/containerd/go-runc v1.0.0 // indirect + github.com/containerd/platforms v0.2.1 // indirect github.com/containerd/ttrpc v1.2.5 // indirect github.com/containerd/typeurl v1.0.3-0.20220422153119-7f6e6d160d67 // indirect + github.com/moby/sys/user v0.3.0 // indirect + github.com/moby/sys/userns v0.1.0 // indirect github.com/containers/ocicrypt v1.1.10 // indirect github.com/distribution/reference v0.6.0 // indirect github.com/djherbis/times v1.5.0 // indirect