Skip to content

Commit e510c88

Browse files
authored
Use go 1.19 now (aliyun#273)
* ci: add build check, use go 1.19
1 parent 4982832 commit e510c88

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

.github/workflows/go-ut.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v3
2121
with:
22-
go-version: 1.17
22+
go-version: 1.19
2323

2424
- name: Build
2525
run: go build -v ./...

.github/workflows/go.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,16 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v2
1818
with:
19-
go-version: 1.13
19+
go-version: 1.19
20+
21+
- name: Build
22+
run: go build -v ./
23+
24+
- name: Build consumer
25+
run: go build -v ./consumer/...
26+
27+
- name: Build producer
28+
run: go build -v ./producer/...
29+
30+
- name: Build util
31+
run: go build -v ./util/...

go.mod

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/aliyun/aliyun-log-go-sdk
22

3-
go 1.13
3+
go 1.19
44

55
require (
66
github.com/Netflix/go-env v0.0.0-20220526054621-78278af1949d
@@ -21,3 +21,7 @@ require (
2121
google.golang.org/protobuf v1.25.0 // indirect
2222
gopkg.in/natefinch/lumberjack.v2 v2.0.0
2323
)
24+
25+
retract (
26+
v0.1.73
27+
)

0 commit comments

Comments
 (0)