Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update to golang 1.17 #477

Merged
merged 4 commits into from
Sep 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/go_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
image: postgres:13.4
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
image: postgres:13.4
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres:10.16
image: postgres:13.4
# Provide the password for postgres
env:
POSTGRES_PASSWORD: postgres
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/advanced-topics/running-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ There's 3 major runtimes we use:

Here's the steps to install locally:

* Install latest version of [golang](https://golang.org/doc/install#download)
* Install [golang](https://golang.org/doc/install#download) version of 1.17.1
* Get the latest version of the Ent CLI:

```shell
Expand Down
12 changes: 10 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
github.com/joho/godotenv v1.3.0
github.com/khaiql/dbcleaner v2.3.0+incompatible
github.com/lib/pq v1.0.0
github.com/mattn/go-sqlite3 v1.14.7 // indirect
github.com/mattn/go-sqlite3 v1.14.7
github.com/nyaruka/phonenumbers v1.0.54
github.com/onsi/ginkgo v1.12.0 // indirect
github.com/onsi/gomega v1.9.0 // indirect
Expand All @@ -37,4 +37,12 @@ require (
gopkg.in/yaml.v3 v3.0.0-20190709130402-674ba3eaed22
)

go 1.16
require (
github.com/agnivade/levenshtein v1.0.1 // indirect
github.com/golang/protobuf v1.3.2 // indirect
github.com/hashicorp/golang-lru v0.5.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
)

go 1.17
1 change: 0 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/lib/pq v1.0.0 h1:X5PMW56eZitiTeO7tKzZxFCSpbFZJtkMMooicw2us9A=
github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
github.com/mattn/go-sqlite3 v1.9.0 h1:pDRiWfl+++eC2FEFRy6jXmQlvp4Yh3z1MJKg4UeYM/4=
github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
github.com/mattn/go-sqlite3 v1.14.7 h1:fxWBnXkxfM6sRiuH3bqJ4CfzZojMOLVc0UTsTglEghA=
github.com/mattn/go-sqlite3 v1.14.7/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
Expand Down
2 changes: 1 addition & 1 deletion ts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG AUTO_SCHEMA_VERSION=0.0.9
ARG NODE_VERSION=16

# get and install tsent
FROM golang:1.16.5-buster As golang-image
FROM golang:1.17.1-buster As golang-image
ARG GOLANG_VERSION
ENV GOPATH=$HOME/go
ENV GOBIN $GOPATH/bin
Expand Down
2 changes: 1 addition & 1 deletion ts/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG AUTO_SCHEMA_VERSION={{.AutoSchemaVersion}}
ARG NODE_VERSION={{.NodeVersion}}

# get and install tsent
FROM golang:1.16.5-buster AS golang-image
FROM golang:1.17.1-buster AS golang-image
ARG GOLANG_VERSION
ENV GOPATH=$HOME/go
ENV GOBIN $GOPATH/bin
Expand Down