Skip to content

Commit

Permalink
Bump GO to 1.17 (#77)
Browse files Browse the repository at this point in the history
* bump go to 1.17

* scope go fmt to drivers
  • Loading branch information
ddymko authored May 13, 2022
1 parent 8ce0d5b commit 78b5261
Show file tree
Hide file tree
Showing 19 changed files with 36 additions and 622 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.17

- name: Run unit tests and coverage test
id: test-coverage
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/go-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.16.6'
go-version: 1.17

- name: Install dependencies
run: |
Expand All @@ -40,11 +40,11 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: '1.16.6'
go-version: 1.17

- name: Run fmt
run: |
gofmt_files=$(gofmt -l .)
gofmt_files=$(gofmt -l driver/.)
if [[ -n ${gofmt_files} ]]; then
echo 'gofmt needs running on the following files:'
echo "${gofmt_files}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/checkout@v1
- uses: actions/setup-go@v1
with:
go-version: '1.16'
go-version: 1.17
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
go-version: 1.17
-
name: Docker Login
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.16
- name: Set up Go 1.17
uses: actions/setup-go@v1
with:
go-version: 1.16
go-version: 1.17
id: go

- name: Check out code into the Go module directory
Expand Down
15 changes: 12 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
module github.com/vultr/vultr-csi

go 1.16
go 1.17

require (
github.com/container-storage-interface/spec v1.6.0
github.com/golang/protobuf v1.5.2
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/sirupsen/logrus v1.8.1
github.com/vultr/govultr/v2 v2.16.0
github.com/vultr/metadata v1.1.0
golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
google.golang.org/grpc v1.46.0
)

require (
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect
golang.org/x/text v0.3.7 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20210920155426-26f343e4c215 // indirect
google.golang.org/grpc v1.46.0
google.golang.org/protobuf v1.27.1 // indirect
)
3 changes: 0 additions & 3 deletions vendor/github.com/hashicorp/go-cleanhttp/go.mod

This file was deleted.

8 changes: 0 additions & 8 deletions vendor/github.com/hashicorp/go-retryablehttp/go.mod

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/hashicorp/go-retryablehttp/go.sum

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/sirupsen/logrus/go.mod

This file was deleted.

8 changes: 0 additions & 8 deletions vendor/github.com/sirupsen/logrus/go.sum

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/vultr/govultr/v2/go.mod

This file was deleted.

14 changes: 0 additions & 14 deletions vendor/github.com/vultr/govultr/v2/go.sum

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/vultr/metadata/go.mod

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/golang.org/x/oauth2/go.mod

This file was deleted.

Loading

0 comments on commit 78b5261

Please sign in to comment.