File tree Expand file tree Collapse file tree 10 files changed +13
-12
lines changed Expand file tree Collapse file tree 10 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 2929
3030 - uses : actions/setup-go@v4
3131 with :
32- go-version : 1.19 .x
32+ go-version : 1.22 .x
3333
3434 # Initializes the CodeQL tools for scanning.
3535 - name : Initialize CodeQL
Original file line number Diff line number Diff line change 1818 - name : Install Go
1919 uses : actions/setup-go@v4
2020 with :
21- go-version : 1.19 .x
21+ go-version : 1.22 .x
2222
2323 - name : Build documentation
2424 run : |
Original file line number Diff line number Diff line change 5252 - name : Install Go
5353 uses : actions/setup-go@v4
5454 with :
55- go-version : 1.19 .x
55+ go-version : 1.22 .x
5656 - id : pre_commit
5757 name : Run pre-commit
5858 if : github.event.action != 'closed' && github.event.pull_request.merged != true
8181 test :
8282 strategy :
8383 matrix :
84- go-version : [1.19 .x, 1.20 .x]
84+ go-version : [1.22 .x, 1.23 .x]
8585 go-build-tags : ["--tags=goccy_gojson", ""]
8686 platform : [ubuntu-latest]
8787 runs-on : ${{ matrix.platform }}
@@ -108,7 +108,7 @@ jobs:
108108 - name : Install Go
109109 uses : actions/setup-go@v4
110110 with :
111- go-version : 1.19 .x
111+ go-version : 1.22 .x
112112 cache : true
113113 cache-dependency-path : tests/go.sum
114114 - name : Check examples
Original file line number Diff line number Diff line change 6262 - name : Install Go
6363 uses : actions/setup-go@v4
6464 with :
65- go-version : 1.19 .x
65+ go-version : 1.22 .x
6666 cache : true
6767 cache-dependency-path : tests/go.sum
6868 - name : Run integration tests
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ This repository contains a Go API client for the [Datadog API](https://docs.data
44
55## Requirements
66
7- - Go 1.19 +
7+ - Go 1.22 +
88
99## Layout
1010
Original file line number Diff line number Diff line change 44//
55// Requirements
66//
7- // • Go 1.19 +
7+ // • Go 1.22 +
88//
99// Layout
1010//
Original file line number Diff line number Diff line change 11module github.com/DataDog/datadog-api-client-go/v2
22
3- go 1.19
3+ go 1.22
44
55retract (
66 // Version used to retract v2.0.0 and v2.0.1. DO NOT USE.
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg
88github.com/golang/protobuf v1.5.3 /go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY =
99github.com/google/go-cmp v0.5.5 /go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE =
1010github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38 =
11+ github.com/google/go-cmp v0.5.9 /go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY =
1112github.com/google/uuid v1.5.0 h1:1p67kYwdtXjb0gL0BPiP1Av9wiZPo5A8z2cWkTZ+eyU =
1213github.com/google/uuid v1.5.0 /go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo =
1314golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 /go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w =
Original file line number Diff line number Diff line change 2424# unfortunately there's no better way to fix this than change directory
2525# this might get solved in Go 1.14: https://github.com/golang/go/issues/30515
2626cd " $( mktemp -d) "
27- GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@v0.4.3
27+ GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@v0.5.0
2828GO111MODULE=on go install gotest.tools/gotestsum@latest
2929cd -
3030
31- staticcheck ./api/...
31+ staticcheck -checks -SA1009 ./api/...
3232go mod tidy
3333go clean -testcache
3434
Original file line number Diff line number Diff line change 11module github.com/DataDog/datadog-api-client-go/v2/tests
22
3- go 1.19
3+ go 1.22
44
55require (
66 github.com/DataDog/datadog-api-client-go/v2 v2.14.0
You can’t perform that action at this time.
0 commit comments