Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update go to 1.17 #221

Merged
merged 2 commits into from
Dec 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
release:
runs-on: ubuntu-latest
container:
image: golang:1.16
image: golang:1.17
steps:
- name: clone
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
diff-review:
runs-on: ubuntu-latest
container:
image: golang:1.16
image: golang:1.17
steps:
- name: clone
uses: actions/checkout@v2
Expand All @@ -27,7 +27,7 @@ jobs:
full-review:
runs-on: ubuntu-latest
container:
image: golang:1.16
image: golang:1.17
steps:
- name: clone
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
schema:
runs-on: ubuntu-latest
container:
image: golang:1.16
image: golang:1.17
steps:
- name: clone
uses: actions/checkout@v2
Expand All @@ -26,4 +26,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: 'schema.json'


2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: golang:1.16
image: golang:1.17
steps:
- name: clone
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
validate:
runs-on: ubuntu-latest
container:
image: golang:1.16
image: golang:1.17
steps:
- name: clone
uses: actions/checkout@v2
Expand Down
11 changes: 9 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,22 @@
module github.com/go-vela/types

go 1.16
go 1.17

require (
github.com/buildkite/yaml v0.0.0-20181016232759-0caa5f0796e3
github.com/drone/envsubst v1.0.3
github.com/ghodss/yaml v1.0.0
github.com/kr/pretty v0.2.0 // indirect
github.com/lib/pq v1.10.4
github.com/microcosm-cc/bluemonday v1.0.16
github.com/sirupsen/logrus v1.8.1
)

require (
github.com/aymerick/douceur v0.2.0 // indirect
github.com/gorilla/css v1.0.0 // indirect
github.com/kr/pretty v0.2.0 // indirect
golang.org/x/net v0.0.0-20210614182718-04defd469f4e // indirect
golang.org/x/sys v0.0.0-20210423082822-04245dca01da // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.3.0 // indirect
)
4 changes: 2 additions & 2 deletions version/metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ func TestVersion_Metadata_String(t *testing.T) {
BuildDate: "1970-1-1T00:00:00Z",
Compiler: "gc",
GitCommit: "abcdef123456789",
GoVersion: "1.16.0",
OperatingSystem: "llinux",
GoVersion: "1.17.0",
OperatingSystem: "linux",
}

want := fmt.Sprintf(
Expand Down
12 changes: 6 additions & 6 deletions version/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ func TestVersion_Version_Meta(t *testing.T) {
BuildDate: "1970-1-1T00:00:00Z",
Compiler: "gc",
GitCommit: "abcdef123456789",
GoVersion: "1.16.0",
OperatingSystem: "llinux",
GoVersion: "1.17.0",
OperatingSystem: "linux",
},
}

Expand All @@ -51,8 +51,8 @@ func TestVersion_Version_Semantic(t *testing.T) {
BuildDate: "1970-1-1T00:00:00Z",
Compiler: "gc",
GitCommit: "abcdef123456789",
GoVersion: "1.16.0",
OperatingSystem: "llinux",
GoVersion: "1.17.0",
OperatingSystem: "linux",
},
}

Expand All @@ -79,8 +79,8 @@ func TestVersion_Version_String(t *testing.T) {
BuildDate: "1970-1-1T00:00:00Z",
Compiler: "gc",
GitCommit: "abcdef123456789",
GoVersion: "1.16.0",
OperatingSystem: "llinux",
GoVersion: "1.17.0",
OperatingSystem: "linux",
},
}

Expand Down