From ee76d31b7b9b1645576c1f51fec4c09fe6cf1bb3 Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Sun, 27 Aug 2023 10:04:17 +0530 Subject: [PATCH] Bump to Go 1.20 --- .github/workflows/ci.yml | 2 +- go.mod | 2 +- main_test.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34f31f8..a7d66bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.18.x, 1.19.x] + go-version: [1.19.x, 1.20.x] os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} steps: diff --git a/go.mod b/go.mod index a10de19..340ff88 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/agnivade/wasmbrowsertest -go 1.19 +go 1.20 require ( github.com/chromedp/cdproto v0.0.0-20221108233440-fad8339618ab diff --git a/main_test.go b/main_test.go index f4df5ba..ee66f22 100644 --- a/main_test.go +++ b/main_test.go @@ -23,7 +23,7 @@ func TestRun(t *testing.T) { "go.mod": ` module foo -go 1.19 +go 1.20 `, "foo.go": ` package main @@ -41,7 +41,7 @@ func main() { "go.mod": ` module foo - go 1.19 + go 1.20 `, "foo.go": ` package main