Skip to content

Commit

Permalink
Merge pull request #2 from ivan1993spb/issue_1
Browse files Browse the repository at this point in the history
build: update go to 1.19.5 and alpine to 3.16
  • Loading branch information
ivan1993spb authored Feb 24, 2023
2 parents ad2ba15 + d0c6d6b commit b088d7e
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16.4
go-version: 1.19.5

- name: Go Mod
run: go mod download
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

# See Makefile
ARG IMAGE_GOLANG=golang:1.16.4-alpine3.13
ARG IMAGE_ALPINE=alpine:3.13
ARG IMAGE_GOLANG=golang:1.19.5-alpine3.16
ARG IMAGE_ALPINE=alpine:3.16

FROM $IMAGE_ALPINE AS helper

Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ _=$(foreach exec,$(EXECUTABLES), \

IMAGE=ivan1993spb/snake-bot

IMAGE_GOLANG=golang:1.16.4-alpine3.13
IMAGE_ALPINE=alpine:3.13
IMAGE_GOLANG=golang:1.19.5-alpine3.16
IMAGE_ALPINE=alpine:3.16

BINARY_NAME=snake-bot
VERSION=$(shell git describe --tags --abbrev=0 2>/dev/null || echo v0.0.0)
Expand Down
23 changes: 19 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,18 +1,33 @@
module github.com/ivan1993spb/snake-bot

go 1.16
go 1.19

require (
github.com/go-chi/chi/v5 v5.0.5
github.com/go-chi/cors v1.2.0
github.com/gorilla/websocket v1.4.2
github.com/kr/text v0.2.0 // indirect
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.11.0
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.7.0
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
lukechampine.com/noescape v0.0.0-20191006153127-214c369a3d1b
)

require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/protobuf v1.4.3 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.26.0 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
github.com/stretchr/objx v0.1.1 // indirect
golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40 // indirect
google.golang.org/protobuf v1.26.0-rc.1 // indirect
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)

0 comments on commit b088d7e

Please sign in to comment.