From fcddbf2bca0f3b64715f3c2c3c79d7027b91a457 Mon Sep 17 00:00:00 2001 From: Steve Coffman Date: Mon, 13 Dec 2021 10:42:39 -0500 Subject: [PATCH] Downgrade to Go 1.16 Signed-off-by: Steve Coffman --- .github/workflows/integration.yml | 6 +++--- .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 2 +- example/go.mod | 13 +------------ go.mod | 8 +------- 5 files changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 7f0fb41943..2833795ed5 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -5,7 +5,7 @@ jobs: integration: runs-on: ubuntu-latest timeout-minutes: 3 - container: golang:1.17-alpine + container: golang:1.16-alpine steps: - uses: actions/checkout@v1 - run: apk add --no-cache --no-progress nodejs npm git bash @@ -15,7 +15,7 @@ jobs: federation: runs-on: ubuntu-latest - container: golang:1.17-alpine + container: golang:1.16-alpine steps: - uses: actions/checkout@v1 - run: apk add --no-cache --no-progress nodejs npm git bash @@ -25,7 +25,7 @@ jobs: init: runs-on: ubuntu-latest - container: golang:1.17-alpine + container: golang:1.16-alpine steps: - uses: actions/checkout@v1 - run: apk add --no-cache --no-progress alpine-sdk bash diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 32314b644c..82eb508bc3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,7 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 - with: { go-version: 1.17 } + with: { go-version: 1.16 } - run: go mod download - run: .github/workflows/check-fmt - run: .github/workflows/check-generate @@ -17,7 +17,7 @@ jobs: steps: - uses: actions/checkout@v1 - uses: actions/setup-go@v2 - with: { go-version: 1.17 } + with: { go-version: 1.16 } - run: go mod download - run: .github/workflows/check-coverage env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 53ced46970..fe2ec24a03 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ jobs: test: strategy: matrix: - go: [1.16, 1.17] + go: [1.16] os: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} diff --git a/example/go.mod b/example/go.mod index b8fdd4c8f0..c821a9a05b 100644 --- a/example/go.mod +++ b/example/go.mod @@ -1,6 +1,6 @@ module github.com/99designs/gqlgen/example -go 1.17 +go 1.16 replace github.com/99designs/gqlgen => ../ @@ -17,23 +17,12 @@ require ( ) require ( - github.com/agnivade/levenshtein v1.1.0 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/gorilla/mux v1.8.0 // indirect - github.com/hashicorp/golang-lru v0.5.0 // indirect - github.com/logrusorgru/aurora/v3 v3.0.0 // indirect - github.com/mattn/go-colorable v0.1.4 // indirect - github.com/mattn/go-isatty v0.0.12 // indirect github.com/opentracing/basictracer-go v1.1.0 // indirect github.com/pkg/errors v0.9.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 // indirect golang.org/x/mod v0.5.0 // indirect - golang.org/x/sys v0.0.0-20210510120138-977fb7262007 // indirect - golang.org/x/tools v0.1.5 // indirect - golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect - gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect sourcegraph.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67 // indirect ) diff --git a/go.mod b/go.mod index 76cf01c2a1..6108576556 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/99designs/gqlgen -go 1.17 +go 1.16 require ( github.com/gorilla/websocket v1.4.2 @@ -21,10 +21,4 @@ require ( require ( github.com/agnivade/levenshtein v1.1.0 // indirect github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/russross/blackfriday/v2 v2.1.0 // indirect - golang.org/x/mod v0.4.2 // indirect - golang.org/x/sys v0.0.0-20210510120138-977fb7262007 // indirect - golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect )