Skip to content

Commit 1f0beeb

Browse files
committed
ci: Upgrades the go version to 1.20 for integration testing
1 parent 34a30e6 commit 1f0beeb

6 files changed

+8
-8
lines changed

.github/workflows/acctest-terraform-basic.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Set up Go Version
5151
uses: actions/setup-go@v2
5252
with:
53-
go-version: '1.19.3'
53+
go-version: '1.20.x'
5454

5555
- name: Get dependencies
5656
run: |
@@ -98,7 +98,7 @@ jobs:
9898
- name: Set up Go Version
9999
uses: actions/setup-go@v2
100100
with:
101-
go-version: '1.19.3'
101+
go-version: '1.20.x'
102102
- name: vet
103103
run: |
104104
make vet

.github/workflows/document-check.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Setup Go
7777
uses: actions/setup-go@v4
7878
with:
79-
go-version: '1.19.x'
79+
go-version: '1.20.x'
8080
- uses: jitterbit/get-changed-files@v1
8181
id: files
8282
with:
@@ -98,7 +98,7 @@ jobs:
9898
- name: Setup Go
9999
uses: actions/setup-go@v4
100100
with:
101-
go-version: '1.19.x'
101+
go-version: '1.20.x'
102102
- uses: actions/checkout@v3
103103
with:
104104
fetch-depth: 2

.github/workflows/testing-coverage-rate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Go
2121
uses: actions/setup-go@v4
2222
with:
23-
go-version: '1.19.x'
23+
go-version: '1.20.x'
2424
- uses: actions/checkout@v3
2525
with:
2626
fetch-depth: 2

.go-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.19.3
1+
1.20.11

ci/tasks/docs-example.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ gh version
4848
cd $repo
4949

5050
echo -e "\n$ git log -n 2"
51-
git log -n 2
51+
#git log -n 2
5252
prNum=${pr_id}
5353
#find file
5454
changeFiles=$(gh pr diff ${pr_id} --name-only)

ci/tasks/pull-request.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ gh version
3939

4040
cd $repo
4141
echo -e "\n$ git log -n 2"
42-
git log -n 2
42+
#git log -n 2
4343
prNum=${pr_id}
4444
# if [[ $(gh pr diff ${prNum} --name-only | grep "^alicloud/") -lt 1 ]]; then
4545
# echo -e "\033[33m[WARNING]\033[0m the pr ${prNum} does not change provider code and there is no need to test."

0 commit comments

Comments
 (0)