Skip to content

Commit 718e135

Browse files
Bumping up go version (#145)
1 parent 07b7fdb commit 718e135

File tree

5 files changed

+24
-17
lines changed

5 files changed

+24
-17
lines changed

Diff for: .github/workflows/test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [ macos-latest, windows-latest, ubuntu-latest ]
13-
go: [ 1.12, 1.13, 1.14 ]
13+
go: [ 1.16, 1.17, 1.18 ]
1414
steps:
1515
- name: Checkout the code
1616
uses: actions/checkout@v2
@@ -21,7 +21,7 @@ jobs:
2121
- name: Run tests
2222
run: go test -v -coverprofile=covprofile ./...
2323
- name: Send coverage
24-
if: ${{ matrix.os == 'macos-latest' && matrix.go == '1.14'}}
24+
if: ${{ matrix.os == 'macos-latest' && matrix.go == '1.16'}}
2525
uses: shogo82148/[email protected]
2626
with:
2727
path-to-profile: covprofile

Diff for: go.mod

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

3-
go 1.12
3+
go 1.16
44

55
require (
66
github.com/hashicorp/go-retryablehttp v0.5.1

Diff for: integration/request.go

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ type APIBasedIntegrationRequest struct {
4949
Name string `json:"name"`
5050
Type string `json:"type"`
5151
AllowWriteAccess *bool `json:"allowWriteAccess"`
52+
AllowConfigurationAccess *bool `json:"allowConfigurationAccess"`
5253
IgnoreRespondersFromPayload *bool `json:"ignoreRespondersFromPayload"`
5354
SuppressNotifications *bool `json:"suppressNotifications"`
5455
OwnerTeam *og.OwnerTeam `json:"ownerTeam,omitempty"`
@@ -79,6 +80,7 @@ type WebhookIntegrationRequest struct {
7980
Name string `json:"name"`
8081
Type string `json:"type"`
8182
AllowWriteAccess *bool `json:"allowWriteAccess"`
83+
AllowConfigurationAccess *bool `json:"allowConfigurationAccess"`
8284
SuppressNotifications *bool `json:"suppressNotifications"`
8385
OwnerTeam *og.OwnerTeam `json:"ownerTeam,omitempty"`
8486
Responders []Responder `json:"responders,omitempty"`

Diff for: vendor/github.com/sirupsen/logrus/appveyor.yml

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: vendor/modules.txt

+5
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,23 @@ github.com/davecgh/go-spew/spew
33
# github.com/hashicorp/go-cleanhttp v0.5.0
44
github.com/hashicorp/go-cleanhttp
55
# github.com/hashicorp/go-retryablehttp v0.5.1
6+
## explicit
67
github.com/hashicorp/go-retryablehttp
78
# github.com/konsorten/go-windows-terminal-sequences v1.0.1
89
github.com/konsorten/go-windows-terminal-sequences
910
# github.com/pkg/errors v0.8.1
11+
## explicit
1012
github.com/pkg/errors
1113
# github.com/pmezard/go-difflib v1.0.0
1214
github.com/pmezard/go-difflib/difflib
1315
# github.com/sirupsen/logrus v1.4.2
16+
## explicit
1417
github.com/sirupsen/logrus
1518
# github.com/stretchr/testify v1.3.0
19+
## explicit
1620
github.com/stretchr/testify/assert
1721
# golang.org/x/net v0.0.0-20201224014010-6772e930b67b
22+
## explicit
1823
golang.org/x/net/context
1924
# golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
2025
golang.org/x/sys/internal/unsafeheader

0 commit comments

Comments
 (0)