diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b18d7d5..bef6718 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: language: ['go'] - go_version: [1.18, 1.15, 1.14] + go_version: [1.18] steps: - name: Checkout repository diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 14c99dd..fa336ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,9 +26,9 @@ jobs: run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: 1.14 + go-version: 1.18 - name: Import GPG key id: import_gpg diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..bb46032 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +golang 1.18.10 diff --git a/go.mod b/go.mod index fe1bfb9..3dfaa61 100644 --- a/go.mod +++ b/go.mod @@ -1,25 +1,58 @@ module github.com/spaceshuttl/terraform-provider-discord -go 1.15 +go 1.18 require ( + github.com/bwmarrin/discordgo v0.19.0 + github.com/hashicorp/terraform v0.11.11 +) + +require ( + github.com/agext/levenshtein v1.2.1 // indirect github.com/apparentlymart/go-cidr v1.0.0 // indirect + github.com/apparentlymart/go-textseg v1.0.0 // indirect + github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 // indirect + github.com/aws/aws-sdk-go v1.15.78 // indirect + github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect + github.com/bgentry/speakeasy v0.1.0 // indirect github.com/blang/semver v3.5.1+incompatible // indirect - github.com/bwmarrin/discordgo v0.19.0 + github.com/fatih/color v1.7.0 // indirect + github.com/golang/protobuf v1.2.0 // indirect + github.com/google/go-cmp v0.2.0 // indirect + github.com/gorilla/websocket v1.4.0 // indirect + github.com/hashicorp/errwrap v1.0.0 // indirect + github.com/hashicorp/go-cleanhttp v0.5.0 // indirect github.com/hashicorp/go-getter v1.1.0 // indirect github.com/hashicorp/go-hclog v0.7.0 // indirect + github.com/hashicorp/go-multierror v1.0.0 // indirect github.com/hashicorp/go-plugin v0.0.0-20190220160451-3f118e8ee104 // indirect + github.com/hashicorp/go-safetemp v1.0.0 // indirect github.com/hashicorp/go-uuid v1.0.1 // indirect + github.com/hashicorp/go-version v1.1.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/hcl2 v0.0.0-20190226234159-7e26f2f34612 // indirect github.com/hashicorp/hil v0.0.0-20190212132231-97b3a9cdfa93 // indirect github.com/hashicorp/logutils v1.0.0 // indirect - github.com/hashicorp/terraform v0.11.11 + github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect + github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8 // indirect + github.com/mattn/go-colorable v0.0.9 // indirect + github.com/mattn/go-isatty v0.0.4 // indirect github.com/mitchellh/cli v1.0.0 // indirect github.com/mitchellh/copystructure v1.0.0 // indirect github.com/mitchellh/go-homedir v1.1.0 // indirect + github.com/mitchellh/go-testing-interface v1.0.0 // indirect + github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect github.com/mitchellh/hashstructure v1.0.0 // indirect + github.com/mitchellh/mapstructure v1.1.2 // indirect + github.com/mitchellh/reflectwalk v1.0.0 // indirect + github.com/oklog/run v1.0.0 // indirect + github.com/posener/complete v1.1.1 // indirect + github.com/ulikunitz/xz v0.5.5 // indirect github.com/zclconf/go-cty v0.0.0-20190212192503-19dda139b164 // indirect golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25 // indirect golang.org/x/net v0.0.0-20190301231341-16b79f2e4e95 // indirect + golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a // indirect + golang.org/x/text v0.3.0 // indirect + google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8 // indirect + google.golang.org/grpc v1.14.0 // indirect )