From c4fce7f890b2ae9f3020c260e12c56dfeedfea9c Mon Sep 17 00:00:00 2001 From: Quinn Klassen Date: Fri, 6 Oct 2023 15:07:05 -0700 Subject: [PATCH] Update Go version --- .github/workflows/ci.yml | 2 +- go.mod | 2 +- slogadapter/worker/main.go | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07fa7e9e..f37456bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,6 @@ jobs: submodules: recursive - uses: actions/setup-go@v2 with: - go-version: "1.19" + go-version: "1.21" - name: CI Build run: make ci-build diff --git a/go.mod b/go.mod index 3dee6415..3664aa79 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/temporalio/samples-go -go 1.19 +go 1.21 replace github.com/cactus/go-statsd-client => github.com/cactus/go-statsd-client v3.2.1+incompatible diff --git a/slogadapter/worker/main.go b/slogadapter/worker/main.go index a93fb443..70c43d8d 100644 --- a/slogadapter/worker/main.go +++ b/slogadapter/worker/main.go @@ -1,5 +1,3 @@ -//go:build go1.21 - package main import (