Skip to content

Commit

Permalink
Update go version to 1.18 (dapr#982)
Browse files Browse the repository at this point in the history
* Update go version to 1.18

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Bumping golangci-lint

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: HueiFeng <695979933@qq.com>
  • Loading branch information
pravinpushkar authored and hueifeng committed Jun 3, 2022
1 parent 8f1b889 commit 71a7e6e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dapr_cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
name: Build ${{ matrix.target_os }}_${{ matrix.target_arch }} binaries
runs-on: ${{ matrix.os }}
env:
GOVER: 1.17
GOLANG_CI_LINT_VER: v1.44.2
GOVER: 1.18
GOLANG_CI_LINT_VER: v1.46.2
GOOS: ${{ matrix.target_os }}
GOARCH: ${{ matrix.target_arch }}
GOPROXY: https://proxy.golang.org
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kind_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
name: E2E tests for K8s (KinD)
runs-on: ubuntu-latest
env:
GOVER: 1.17
GOVER: 1.18
DAPR_RUNTIME_VERSION: 1.7.0
DAPR_DASHBOARD_VERSION: 0.10.0
DAPR_TGZ: dapr-1.7.0.tgz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/self_hosted_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Run Self-Hosted E2E tests in ${{ matrix.target_os }}_${{ matrix.target_arch }}
runs-on: ${{ matrix.os }}
env:
GOVER: 1.17
GOVER: 1.18
GOOS: ${{ matrix.target_os }}
GOARCH: ${{ matrix.target_arch }}
GOPROXY: https://proxy.golang.org
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upgrade_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
name: Upgrade path tests (KinD)
runs-on: ubuntu-latest
env:
GOVER: 1.17
GOVER: 1.18
strategy:
fail-fast: false # Keep running if one leg fails.
matrix:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ e2e-build-run-sh: build test-e2e-sh
################################################################################
.PHONY: go.mod
go.mod:
go mod tidy -compat=1.17
go mod tidy -compat=1.18

################################################################################
# Target: check-diff #
Expand Down
2 changes: 1 addition & 1 deletion docs/development/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This document helps you get started developing Dapr CLI. If you find any problem

### Linux and MacOS

1. The Go language environment `1.17` [(instructions)](https://golang.org/doc/install#tarball).
1. The Go language environment `1.18` [(instructions)](https://golang.org/doc/install#tarball).
* Make sure that your GOPATH and PATH are configured correctly
```bash
export GOPATH=~/go
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/dapr/cli

go 1.17
go 1.18

require (
github.com/Azure/go-autorest/autorest v0.11.23 // indirect
Expand Down

0 comments on commit 71a7e6e

Please sign in to comment.