mirror of https://github.com/dapr/cli.git
Update go version to 1.18 (#982)
* 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>
This commit is contained in:
parent
0630996fb4
commit
3abbf3f933
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -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 #
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue