Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
Upgrade temporal to v1.16.1 and Go to 1.18 (#66)
Browse files Browse the repository at this point in the history
* upgrade temporal to v1.16.1

* remove unused client options

* update temporal ui-server to v0.13.0 fixes build on windows

* Update to Go 1.18

* Build ui-server on Windows

Co-authored-by: balchua <balchua@yahoo.com>
  • Loading branch information
jlegrone and balchua committed May 7, 2022
1 parent 0797d11 commit 0507fa8
Show file tree
Hide file tree
Showing 8 changed files with 98 additions and 176 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Race
run: go test -v -race ./...
continue-on-error: true
Expand All @@ -33,9 +33,6 @@ jobs:
- -tags headless
cgo: ["0", "1"]
exclude:
# TODO: remove this exception after https://github.com/temporalio/ui-server/issues/104 is closed.
- os: windows-latest
flags: ""
# cgo is currently required by the upstream SQLite driver.
# This exception should be removed if/when non-cgo builds are supported again.
- cgo: "0"
Expand All @@ -45,7 +42,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Test
env:
CGO_ENABLED: ${{ matrix.cgo }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This doc is for contributors to Temporalite (hopefully that's you!)
## Prerequisites

### Build prerequisites
* [Go Lang](https://golang.org/) (minimum version required is 1.17):
* [Go Lang](https://golang.org/) (minimum version required is 1.18):
- Install on macOS with `brew install go`.
- Install on Ubuntu with `sudo apt install golang`.

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17 as builder
FROM golang:1.18 as builder

WORKDIR ${GOPATH:-/go}/src/temporalite

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Features that align with this goal:

Build from source using [go install](https://golang.org/ref/mod#go-install):

> Note: Go 1.17 or greater is currently required.
> Note: Go 1.18 or greater is currently required.
```bash
go install github.com/DataDog/temporalite/cmd/temporalite@latest
Expand Down
58 changes: 29 additions & 29 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
module github.com/DataDog/temporalite

go 1.17
go 1.18

require (
github.com/google/go-licenses v0.0.0-20210816172045-3099c18c36e1
github.com/google/licenseclassifier v0.0.0-20210722185704-3043a050f148
github.com/temporalio/ui-server v0.2.1-0.20220226010605-9804b4397392
github.com/temporalio/ui-server v0.13.0
github.com/urfave/cli/v2 v2.5.1
go.temporal.io/sdk v1.13.1
go.temporal.io/server v1.15.2
go.temporal.io/sdk v1.14.0
go.temporal.io/server v1.16.1
go.uber.org/zap v1.21.0
)

require go.temporal.io/api v1.7.1-0.20220131203817-08fe71b1361d // indirect
require go.temporal.io/api v1.7.1-0.20220326004856-88a7c92fb8b4 // indirect

require (
cloud.google.com/go v0.100.2 // indirect
cloud.google.com/go/compute v1.1.0 // indirect
cloud.google.com/go/compute v1.2.0 // indirect
cloud.google.com/go/iam v0.1.1 // indirect
cloud.google.com/go/storage v1.19.0 // indirect
cloud.google.com/go/storage v1.20.0 // indirect
github.com/apache/thrift v0.0.0-20161221203622-b2a4d4ae21c7 // indirect
github.com/aws/aws-sdk-go v1.42.44 // indirect
github.com/aws/aws-sdk-go v1.42.52 // indirect
github.com/benbjohnson/clock v1.3.0 // indirect; indgo irect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/cactus/go-statsd-client v3.1.1+incompatible // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/coreos/go-oidc/v3 v3.0.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
github.com/coreos/go-oidc/v3 v3.1.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
github.com/emirpasic/gods v1.12.0 // indirect
Expand All @@ -40,7 +40,7 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/gogo/status v1.1.0 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang-jwt/jwt/v4 v4.2.0 // indirect
github.com/golang-jwt/jwt/v4 v4.3.0 // indirect
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/mock v1.6.0 // indirect
Expand All @@ -62,7 +62,7 @@ require (
github.com/jonboulle/clockwork v0.2.2 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd // indirect
github.com/labstack/echo-contrib v0.9.0 // indirect
github.com/labstack/echo-contrib v0.12.0 // indirect
github.com/labstack/echo/v4 v4.6.3 // indirect
github.com/labstack/gommon v0.3.1 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
Expand Down Expand Up @@ -100,33 +100,33 @@ require (
github.com/xanzy/ssh-agent v0.2.1 // indirect
github.com/xwb1989/sqlparser v0.0.0-20180606152119-120387863bf2 // indirect
go.opencensus.io v0.23.0 // indirect
go.opentelemetry.io/otel v1.3.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.26.0 // indirect
go.opentelemetry.io/otel/internal/metric v0.26.0 // indirect
go.opentelemetry.io/otel/metric v0.26.0 // indirect
go.opentelemetry.io/otel/sdk v1.3.0 // indirect
go.opentelemetry.io/otel/sdk/export/metric v0.26.0 // indirect
go.opentelemetry.io/otel/sdk/metric v0.26.0 // indirect
go.opentelemetry.io/otel/trace v1.3.0 // indirect
go.opentelemetry.io/otel v1.4.0 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.27.0 // indirect
go.opentelemetry.io/otel/internal/metric v0.27.0 // indirect
go.opentelemetry.io/otel/metric v0.27.0 // indirect
go.opentelemetry.io/otel/sdk v1.4.0 // indirect
go.opentelemetry.io/otel/sdk/export/metric v0.27.0 // indirect
go.opentelemetry.io/otel/sdk/metric v0.27.0 // indirect
go.opentelemetry.io/otel/trace v1.4.0 // indirect
go.temporal.io/version v0.3.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/dig v1.13.0 // indirect
go.uber.org/fx v1.16.0 // indirect
go.uber.org/multierr v1.7.0 // indirect
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 // indirect
golang.org/x/mod v0.4.2 // indirect
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27 // indirect
golang.org/x/net v0.0.0-20220325170049-de3da57026de // indirect
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
golang.org/x/sys v0.0.0-20220325203850-36772127a21f // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11 // indirect
golang.org/x/time v0.0.0-20220224211638-0e9765cccd65 // indirect
golang.org/x/tools v0.1.5 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/api v0.66.0 // indirect
google.golang.org/api v0.68.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20220201184016-50beb8ab5c44 // indirect
google.golang.org/grpc v1.44.0 // indirect
google.golang.org/protobuf v1.27.1 // indirect
google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb // indirect
google.golang.org/grpc v1.45.0 // indirect
google.golang.org/protobuf v1.28.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect
Expand Down

0 comments on commit 0507fa8

Please sign in to comment.