Skip to content

Commit

Permalink
Tidy up dependencies
Browse files Browse the repository at this point in the history
Update Go to 1.20 while we are here.
  • Loading branch information
timoreimann committed Apr 18, 2023
1 parent 248448f commit f845fd2
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 114 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@37335c7bb261b353407cff977110895fa0b4f7d8 # v2.1.3
with:
go-version: 1.15.x
go-version: 1.20.x
- name: Checkout code
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f # v2.3.4
- name: Test
Expand Down
14 changes: 12 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
module github.com/timoreimann/pdsync

go 1.13
go 1.20

require (
github.com/PagerDuty/go-pagerduty v1.1.2
github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 // indirect
github.com/google/go-cmp v0.5.4
github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2
github.com/slack-go/slack v0.6.3
github.com/urfave/cli/v2 v2.1.1
gopkg.in/yaml.v2 v2.2.8
)

require (
github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect
github.com/google/go-querystring v1.0.0 // indirect
github.com/gorilla/websocket v1.2.0 // indirect
github.com/pkg/errors v0.8.0 // indirect
github.com/russross/blackfriday/v2 v2.0.1 // indirect
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 // indirect
)
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASu
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/gorilla/websocket v1.2.0 h1:VJtLvh6VQym50czpZzx07z/kw9EgAxI3x1ZB8taTMQQ=
github.com/gorilla/websocket v1.2.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
Expand All @@ -41,7 +40,6 @@ github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeV
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
github.com/slack-go/slack v0.6.3 h1:qU037g8gQ71EuH6S9zYKnvYrEUj0fLFH4HFekFqBoRU=
github.com/slack-go/slack v0.6.3/go.mod h1:HE4RwNe7YpOg/F0vqo5PwXH3Hki31TplTvKRW9dGGaw=
github.com/stretchr/objx v0.1.1 h1:2vfRuCMp5sSVIDSqO8oNnWJq7mPa6KVP3iPIwFBuy8A=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
Expand Down
11 changes: 0 additions & 11 deletions vendor/github.com/PagerDuty/go-pagerduty/go.mod

This file was deleted.

40 changes: 0 additions & 40 deletions vendor/github.com/PagerDuty/go-pagerduty/go.sum

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/russross/blackfriday/v2/go.mod

This file was deleted.

1 change: 0 additions & 1 deletion vendor/github.com/shurcooL/sanitized_anchor_name/go.mod

This file was deleted.

11 changes: 0 additions & 11 deletions vendor/github.com/slack-go/slack/go.mod

This file was deleted.

14 changes: 0 additions & 14 deletions vendor/github.com/slack-go/slack/go.sum

This file was deleted.

9 changes: 0 additions & 9 deletions vendor/github.com/urfave/cli/v2/go.mod

This file was deleted.

14 changes: 0 additions & 14 deletions vendor/github.com/urfave/cli/v2/go.sum

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/golang.org/x/xerrors/go.mod

This file was deleted.

5 changes: 0 additions & 5 deletions vendor/gopkg.in/yaml.v2/go.mod

This file was deleted.

15 changes: 15 additions & 0 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -1,35 +1,50 @@
# github.com/PagerDuty/go-pagerduty v1.1.2
## explicit; go 1.12
github.com/PagerDuty/go-pagerduty
# github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927
## explicit
# github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d
## explicit; go 1.12
github.com/cpuguy83/go-md2man/v2/md2man
# github.com/google/go-cmp v0.5.4
## explicit; go 1.8
github.com/google/go-cmp/cmp
github.com/google/go-cmp/cmp/cmpopts
github.com/google/go-cmp/cmp/internal/diff
github.com/google/go-cmp/cmp/internal/flags
github.com/google/go-cmp/cmp/internal/function
github.com/google/go-cmp/cmp/internal/value
# github.com/google/go-querystring v1.0.0
## explicit
github.com/google/go-querystring/query
# github.com/gorilla/websocket v1.2.0
## explicit
github.com/gorilla/websocket
# github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2
## explicit
github.com/matryer/try
# github.com/pkg/errors v0.8.0
## explicit
github.com/pkg/errors
# github.com/russross/blackfriday/v2 v2.0.1
## explicit
github.com/russross/blackfriday/v2
# github.com/shurcooL/sanitized_anchor_name v1.0.0
## explicit
github.com/shurcooL/sanitized_anchor_name
# github.com/slack-go/slack v0.6.3
## explicit; go 1.13
github.com/slack-go/slack
github.com/slack-go/slack/internal/errorsx
github.com/slack-go/slack/internal/timex
github.com/slack-go/slack/slackutilsx
# github.com/urfave/cli/v2 v2.1.1
## explicit; go 1.11
github.com/urfave/cli/v2
# golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
## explicit; go 1.11
golang.org/x/xerrors
golang.org/x/xerrors/internal
# gopkg.in/yaml.v2 v2.2.8
## explicit
gopkg.in/yaml.v2

0 comments on commit f845fd2

Please sign in to comment.