Skip to content

Commit

Permalink
update golang to 1.17
Browse files Browse the repository at this point in the history
Signed-off-by: UMEZAWA Takeshi <takeshi-umezawa@cybozu.co.jp>
  • Loading branch information
umezawatakeshi committed Sep 14, 2021
1 parent f5a84a9 commit a26ec42
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- 'main'
env:
go-version: 1.16
go-version: 1.17
filename: 'main.yaml'
jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
tags:
- 'v*'
env:
go-version: 1.16
go-version: 1.17
tag: ${GITHUB_REF#refs/tags/v}
prerelease: ${{ contains(github.ref, '-') }}
jobs:
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
name: Release GitHub
runs-on: ubuntu-20.04
container:
image: quay.io/cybozu/golang:1.16-focal
image: quay.io/cybozu/golang:1.17-focal
steps:
- name: Create GitHub release
run: |
Expand Down
58 changes: 55 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
module github.com/cybozu-go/sabakan/v2

go 1.16
go 1.17

replace google.golang.org/grpc => google.golang.org/grpc v1.26.0

require (
github.com/99designs/gqlgen v0.13.0
github.com/ajeddeloh/go-json v0.0.0-20170920214419-6a2fe990e083 // indirect
github.com/coreos/ignition v0.35.0
github.com/cybozu-go/etcdutil v1.4.0
github.com/cybozu-go/log v1.6.0
Expand All @@ -25,7 +24,60 @@ require (
github.com/vincent-petithory/dataurl v0.0.0-20191104211930-d1553a71de50
go.etcd.io/etcd v0.5.0-alpha.5.0.20210512015243-d19fbe541bf9
go.universe.tf/netboot v0.0.0-20201124111825-bdaec9d82638
go4.org v0.0.0-20181109185143-00e24f1b2599 // indirect
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a
sigs.k8s.io/yaml v1.2.0
)

require (
github.com/BurntSushi/toml v0.3.1 // indirect
github.com/agnivade/levenshtein v1.0.3 // indirect
github.com/ajeddeloh/go-json v0.0.0-20170920214419-6a2fe990e083 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/coreos/go-semver v0.3.0 // indirect
github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e // indirect
github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect
github.com/fsnotify/fsnotify v1.4.9 // indirect
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
github.com/gogo/protobuf v1.2.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/uuid v1.0.0 // indirect
github.com/gorilla/websocket v1.4.2 // indirect
github.com/hashicorp/golang-lru v0.5.1 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/magiconair/properties v1.8.1 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/mitchellh/mapstructure v1.1.2 // indirect
github.com/nxadm/tail v1.4.8 // indirect
github.com/pelletier/go-toml v1.9.1 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/procfs v0.6.0 // indirect
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/cast v1.3.1 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.7.0 // indirect
github.com/subosito/gotenv v1.2.0 // indirect
github.com/vishvananda/netlink v1.1.0 // indirect
github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df // indirect
go.uber.org/atomic v1.5.0 // indirect
go.uber.org/multierr v1.3.0 // indirect
go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee // indirect
go.uber.org/zap v1.13.0 // indirect
go4.org v0.0.0-20181109185143-00e24f1b2599 // indirect
golang.org/x/lint v0.0.0-20190930215403-16217165b5de // indirect
golang.org/x/mod v0.3.0 // indirect
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781 // indirect
golang.org/x/sys v0.0.0-20210423082822-04245dca01da // indirect
golang.org/x/text v0.3.6 // indirect
golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect
google.golang.org/grpc v1.27.0 // indirect
google.golang.org/protobuf v1.26.0 // indirect
gopkg.in/ini.v1 v1.51.1 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
honnef.co/go/tools v0.0.1-2019.2.3 // indirect
)
2 changes: 1 addition & 1 deletion mtest/tools_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// +build tools
//go:build tools

package mtest

Expand Down

0 comments on commit a26ec42

Please sign in to comment.