From cce2277b991e3b501793ecbe305497ffd6041ad6 Mon Sep 17 00:00:00 2001 From: Sam Fredrickson Date: Sun, 5 May 2024 01:19:04 -0700 Subject: [PATCH] Update dependencies; Go 1.22. --- .gitea/workflows/build.yaml | 6 +++--- go.mod | 7 ++----- go.sum | 9 ++------- 3 files changed, 7 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8eae9b6..fa494e7 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -17,12 +17,12 @@ jobs: name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.21.5 + go-version: 1.22.2 - name: Run linter uses: golangci/golangci-lint-action@v3 with: - version: v1.54 + version: v1.58 - name: Run tests run: go test ./... @@ -31,7 +31,7 @@ jobs: uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser - version: 1.22.1 + version: 1.25.1 args: release --clean --snapshot env: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} diff --git a/go.mod b/go.mod index af7f946..0d3b0e9 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,7 @@ module gogs.humancabbage.net/datashake -go 1.21 +go 1.22 require github.com/sourcegraph/conc v0.3.0 -require ( - go.uber.org/atomic v1.7.0 // indirect - go.uber.org/multierr v1.9.0 // indirect -) +require go.uber.org/multierr v1.11.0 // indirect diff --git a/go.sum b/go.sum index 4a90dbc..3d72511 100644 --- a/go.sum +++ b/go.sum @@ -1,17 +1,12 @@ -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 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/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo= github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -go.uber.org/atomic v1.7.0 h1:ADUqmZGgLDDfbSL9ZmPxKTybcoEYHgpYfELNoN+7hsw= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/multierr v1.9.0 h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI= -go.uber.org/multierr v1.9.0/go.mod h1:X2jQV1h+kxSjClGpnseKVIxpmcjrj7MNnI0bnlfKTVQ= +go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= +go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=