From 111baeb6ac902f6cd9a37532c001c8bfc3a5a59a Mon Sep 17 00:00:00 2001 From: MURAOKA Taro Date: Thu, 11 Aug 2022 07:08:42 +0900 Subject: [PATCH] update graphql-go/graphql See also: https://github.com/advisories/GHSA-h3qm-jrrf-cgj3 --- Makefile | 12 ++++++------ go.mod | 4 ++-- go.sum | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 558fc29..c890037 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,11 @@ build: .PHONY: test test: - go test ./... + go test -gcflags '-e' ./... + +.PHONY: bench +bench: + go test -bench ./... .PHONY: tags tags: @@ -17,16 +21,12 @@ cover: go tool cover -html tmp/_cover.out -o tmp/cover.html .PHONY: checkall -checkall: vet lint staticcheck +checkall: vet staticcheck .PHONY: vet vet: go vet ./... -.PHONY: lint -lint: - golint ./... - .PHONY: staticcheck staticcheck: staticcheck ./... diff --git a/go.mod b/go.mod index ad8152d..69b94c2 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/koron-go/gqlcost -go 1.14 +go 1.18 -require github.com/graphql-go/graphql v0.7.9 +require github.com/graphql-go/graphql v0.8.0 diff --git a/go.sum b/go.sum index 1428319..a02c8ea 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -github.com/graphql-go/graphql v0.7.9 h1:5Va/Rt4l5g3YjwDnid3vFfn43faaQBq7rMcIZ0VnV34= -github.com/graphql-go/graphql v0.7.9/go.mod h1:k6yrAYQaSP59DC5UVxbgxESlmVyojThKdORUqGDGmrI= +github.com/graphql-go/graphql v0.8.0 h1:JHRQMeQjofwqVvGwYnr8JnPTY0AxgVy1HpHSGPLdH0I= +github.com/graphql-go/graphql v0.8.0/go.mod h1:nKiHzRM0qopJEwCITUuIsxk9PlVlwIiiI8pnJEhordQ=