From e8634aa8ac74282ab195edc462a86b1f87f451de Mon Sep 17 00:00:00 2001 From: Patrick Demers Date: Thu, 29 Aug 2024 17:59:58 -0700 Subject: [PATCH] upgrade to golang v1.23.0 (#306) --- .github/workflows/build.yml | 2 +- Dockerfile | 2 +- README.md | 2 +- go.mod | 2 +- go.sum | 3 +++ 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2617d11..674f424 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.20.12 + go-version: 1.23.0 - name: No formatting changes run: | diff --git a/Dockerfile b/Dockerfile index 50e4e82..3d83b30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.20 AS build +FROM golang:1.23.0 AS build WORKDIR /app diff --git a/README.md b/README.md index 1728dc6..019738e 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ curl --cacert cert.pem \ Requirements: * You've [installed Golang](https://go.dev/doc/install). The package was - tested with Go 1.20. + tested with Go 1.23.0. * You're using macOS or Linux. (Everything except BLE should run on Windows, but Windows is not officially supported). diff --git a/go.mod b/go.mod index 8cbba4d..b53144b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/teslamotors/vehicle-command -go 1.20 +go 1.23.0 require ( github.com/99designs/keyring v1.2.2 diff --git a/go.sum b/go.sum index 94b70a0..1c626be 100644 --- a/go.sum +++ b/go.sum @@ -54,9 +54,11 @@ github.com/sirupsen/logrus v1.5.0 h1:1N5EYkVAPEywqZRJd7cwnRtCb6xJx7NH3T3WUTF980Q github.com/sirupsen/logrus v1.5.0/go.mod h1:+F7Ogzej0PZc/94MaYx/nvG9jOFMD2osvC3s+Squfpo= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/tinygo-org/cbgo v0.0.4 h1:3D76CRYbH03Rudi8sEgs/YO0x3JIMdyq8jlQtk/44fU= github.com/tinygo-org/cbgo v0.0.4/go.mod h1:7+HgWIHd4nbAz0ESjGlJ1/v9LDU1Ox8MGzP9mah/fLk= github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0= @@ -75,3 +77,4 @@ gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b h1:QRR6H1YWRnHb4Y/HeNFCTJLF gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=