Skip to content

Commit

Permalink
Bumping up go version (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
koushik-swaminathan authored Jul 12, 2024
1 parent 07b7fdb commit 718e135
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
matrix:
os: [ macos-latest, windows-latest, ubuntu-latest ]
go: [ 1.12, 1.13, 1.14 ]
go: [ 1.16, 1.17, 1.18 ]
steps:
- name: Checkout the code
uses: actions/checkout@v2
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Run tests
run: go test -v -coverprofile=covprofile ./...
- name: Send coverage
if: ${{ matrix.os == 'macos-latest' && matrix.go == '1.14'}}
if: ${{ matrix.os == 'macos-latest' && matrix.go == '1.16'}}
uses: shogo82148/[email protected]
with:
path-to-profile: covprofile
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/opsgenie/opsgenie-go-sdk-v2

go 1.12
go 1.16

require (
github.com/hashicorp/go-retryablehttp v0.5.1
Expand Down
2 changes: 2 additions & 0 deletions integration/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ type APIBasedIntegrationRequest struct {
Name string `json:"name"`
Type string `json:"type"`
AllowWriteAccess *bool `json:"allowWriteAccess"`
AllowConfigurationAccess *bool `json:"allowConfigurationAccess"`
IgnoreRespondersFromPayload *bool `json:"ignoreRespondersFromPayload"`
SuppressNotifications *bool `json:"suppressNotifications"`
OwnerTeam *og.OwnerTeam `json:"ownerTeam,omitempty"`
Expand Down Expand Up @@ -79,6 +80,7 @@ type WebhookIntegrationRequest struct {
Name string `json:"name"`
Type string `json:"type"`
AllowWriteAccess *bool `json:"allowWriteAccess"`
AllowConfigurationAccess *bool `json:"allowConfigurationAccess"`
SuppressNotifications *bool `json:"suppressNotifications"`
OwnerTeam *og.OwnerTeam `json:"ownerTeam,omitempty"`
Responders []Responder `json:"responders,omitempty"`
Expand Down
28 changes: 14 additions & 14 deletions vendor/github.com/sirupsen/logrus/appveyor.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,23 @@ github.com/davecgh/go-spew/spew
# github.com/hashicorp/go-cleanhttp v0.5.0
github.com/hashicorp/go-cleanhttp
# github.com/hashicorp/go-retryablehttp v0.5.1
## explicit
github.com/hashicorp/go-retryablehttp
# github.com/konsorten/go-windows-terminal-sequences v1.0.1
github.com/konsorten/go-windows-terminal-sequences
# github.com/pkg/errors v0.8.1
## explicit
github.com/pkg/errors
# github.com/pmezard/go-difflib v1.0.0
github.com/pmezard/go-difflib/difflib
# github.com/sirupsen/logrus v1.4.2
## explicit
github.com/sirupsen/logrus
# github.com/stretchr/testify v1.3.0
## explicit
github.com/stretchr/testify/assert
# golang.org/x/net v0.0.0-20201224014010-6772e930b67b
## explicit
golang.org/x/net/context
# golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
golang.org/x/sys/internal/unsafeheader
Expand Down

0 comments on commit 718e135

Please sign in to comment.