Skip to content

Commit

Permalink
Use go 1.19 now (#273)
Browse files Browse the repository at this point in the history
* ci: add build check, use go 1.19
  • Loading branch information
crimson-gao authored May 27, 2024
1 parent 4982832 commit e510c88
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-ut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: 1.19

- name: Build
run: go build -v ./...
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,16 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.13
go-version: 1.19

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

- name: Build consumer
run: go build -v ./consumer/...

- name: Build producer
run: go build -v ./producer/...

- name: Build util
run: go build -v ./util/...
6 changes: 5 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/aliyun/aliyun-log-go-sdk

go 1.13
go 1.19

require (
github.com/Netflix/go-env v0.0.0-20220526054621-78278af1949d
Expand All @@ -21,3 +21,7 @@ require (
google.golang.org/protobuf v1.25.0 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.0.0
)

retract (
v0.1.73
)

0 comments on commit e510c88

Please sign in to comment.