Skip to content

Commit

Permalink
Update Go to 1.18
Browse files Browse the repository at this point in the history
This PR updates the `go.mod`, Docker image, and CI workflows to use Go
1.18, the latest version of Go.
  • Loading branch information
bcspragu committed May 17, 2022
1 parent 8b18425 commit 95e31f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.17
go-version: ^1.18

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -34,4 +34,4 @@ jobs:
run: make get

- name: Test
run: make test
run: make test
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG GOLANG_VERSION=1.17
ARG GOLANG_VERSION=1.18
FROM golang:${GOLANG_VERSION}-buster as builder

ARG VIPS_VERSION=8.12.2
Expand Down Expand Up @@ -72,4 +72,4 @@ USER nobody

ENTRYPOINT ["/usr/local/bin/imagor"]

EXPOSE ${PORT}
EXPOSE ${PORT}
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cshum/imagor

go 1.17
go 1.18

require (
cloud.google.com/go/storage v1.21.0
Expand Down

0 comments on commit 95e31f2

Please sign in to comment.