-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from krystal/upgrade-deps
- Loading branch information
Showing
18 changed files
with
159 additions
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,24 +11,26 @@ jobs: | |
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v2 | ||
with: | ||
version: v1.44 | ||
version: v1.50 | ||
env: | ||
VERBOSE: "true" | ||
|
||
lint-provider: | ||
name: Lint Provider | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
- name: Run tfproviderlint | ||
run: make lint-provider | ||
## TODO: Enable when this issue is resolved: | ||
## https://github.com/bflad/tfproviderlint/issues/255 | ||
# lint-provider: | ||
# name: Lint Provider | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: actions/setup-go@v2 | ||
# with: | ||
# go-version: 1.19 | ||
# - uses: actions/cache@v2 | ||
# with: | ||
# path: ~/go/pkg/mod | ||
# key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
# - name: Run tfproviderlint | ||
# run: make lint-provider | ||
|
||
tidy: | ||
name: Tidy | ||
|
@@ -37,7 +39,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.19 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/go/pkg/mod | ||
|
@@ -55,15 +57,15 @@ jobs: | |
matrix: | ||
terraform_version: | ||
- "" # latest | ||
- "1.1.7" | ||
- "1.3.7" | ||
- "1.2.9" | ||
- "1.1.9" | ||
- "1.0.11" | ||
- "0.15.5" | ||
- "0.14.11" | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.19 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/go/pkg/mod | ||
|
@@ -87,7 +89,7 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.19 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ~/go/pkg/mod | ||
|
@@ -102,15 +104,15 @@ jobs: | |
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
needs: [lint, lint-provider, tidy, test, docs] | ||
needs: [lint, tidy, test, docs] | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
go-version: 1.19 | ||
- name: Import GPG key | ||
id: import_gpg | ||
uses: paultyng/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.16-alpine | ||
FROM golang:1.19-alpine | ||
|
||
RUN apk add --no-cache \ | ||
bash \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,67 @@ | ||
module github.com/krystal/terraform-provider-katapult | ||
|
||
go 1.17 | ||
go 1.19 | ||
|
||
require ( | ||
github.com/dnaeon/go-vcr v1.1.0 | ||
github.com/hashicorp/go-hclog v1.2.0 | ||
github.com/hashicorp/go-retryablehttp v0.7.0 | ||
github.com/hashicorp/terraform-plugin-sdk/v2 v2.11.0 | ||
github.com/hashicorp/go-hclog v1.4.0 | ||
github.com/hashicorp/go-retryablehttp v0.7.2 | ||
github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.1 | ||
github.com/jimeh/undent v1.1.0 | ||
github.com/krystal/go-katapult v0.1.7 | ||
github.com/stretchr/testify v1.7.0 | ||
github.com/stretchr/testify v1.7.2 | ||
) | ||
|
||
require ( | ||
github.com/agext/levenshtein v1.2.3 // indirect | ||
github.com/apparentlymart/go-cidr v1.1.0 // indirect | ||
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect | ||
github.com/augurysys/timestamp v0.2.0 // indirect | ||
github.com/augurysys/timestamp v0.3.2 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/fatih/color v1.13.0 // indirect | ||
github.com/fatih/color v1.14.1 // indirect | ||
github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8 // indirect | ||
github.com/go-stack/stack v1.8.1 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/google/go-cmp v0.5.7 // indirect | ||
github.com/google/go-cmp v0.5.9 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-checkpoint v0.5.0 // indirect | ||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect | ||
github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/hashicorp/go-plugin v1.4.3 // indirect | ||
github.com/hashicorp/go-uuid v1.0.2 // indirect | ||
github.com/hashicorp/go-version v1.4.0 // indirect | ||
github.com/hashicorp/hc-install v0.3.1 // indirect | ||
github.com/hashicorp/hcl/v2 v2.11.1 // indirect | ||
github.com/hashicorp/go-plugin v1.4.8 // indirect | ||
github.com/hashicorp/go-uuid v1.0.3 // indirect | ||
github.com/hashicorp/go-version v1.6.0 // indirect | ||
github.com/hashicorp/hc-install v0.4.0 // indirect | ||
github.com/hashicorp/hcl/v2 v2.15.0 // indirect | ||
github.com/hashicorp/logutils v1.0.0 // indirect | ||
github.com/hashicorp/terraform-exec v0.16.0 // indirect | ||
github.com/hashicorp/terraform-json v0.13.0 // indirect | ||
github.com/hashicorp/terraform-plugin-go v0.8.0 // indirect | ||
github.com/hashicorp/terraform-plugin-log v0.3.0 // indirect | ||
github.com/hashicorp/terraform-registry-address v0.0.0-20220131103327-5c1c5e123275 // indirect | ||
github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 // indirect | ||
github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87 // indirect | ||
github.com/mattn/go-colorable v0.1.12 // indirect | ||
github.com/mattn/go-isatty v0.0.14 // indirect | ||
github.com/hashicorp/terraform-exec v0.17.3 // indirect | ||
github.com/hashicorp/terraform-json v0.14.0 // indirect | ||
github.com/hashicorp/terraform-plugin-go v0.14.3 // indirect | ||
github.com/hashicorp/terraform-plugin-log v0.7.0 // indirect | ||
github.com/hashicorp/terraform-registry-address v0.1.0 // indirect | ||
github.com/hashicorp/terraform-svchost v0.0.1 // indirect | ||
github.com/hashicorp/yamux v0.1.1 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.17 // indirect | ||
github.com/mitchellh/copystructure v1.2.0 // indirect | ||
github.com/mitchellh/go-testing-interface v1.14.1 // indirect | ||
github.com/mitchellh/go-wordwrap v1.0.1 // indirect | ||
github.com/mitchellh/mapstructure v1.4.3 // indirect | ||
github.com/mitchellh/mapstructure v1.5.0 // indirect | ||
github.com/mitchellh/reflectwalk v1.0.2 // indirect | ||
github.com/oklog/run v1.1.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect | ||
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect | ||
github.com/vmihailenco/tagparser v0.1.2 // indirect | ||
github.com/zclconf/go-cty v1.10.0 // indirect | ||
go.mongodb.org/mongo-driver v1.8.4 // indirect | ||
golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd // indirect | ||
golang.org/x/net v0.0.0-20220225172249-27dd8689420f // indirect | ||
golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86 // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
github.com/zclconf/go-cty v1.12.1 // indirect | ||
go.mongodb.org/mongo-driver v1.11.1 // indirect | ||
golang.org/x/crypto v0.5.0 // indirect | ||
golang.org/x/net v0.5.0 // indirect | ||
golang.org/x/sys v0.4.0 // indirect | ||
golang.org/x/text v0.6.0 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106 // indirect | ||
google.golang.org/grpc v1.45.0 // indirect | ||
google.golang.org/protobuf v1.27.1 // indirect | ||
google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa // indirect | ||
google.golang.org/grpc v1.52.3 // indirect | ||
google.golang.org/protobuf v1.28.1 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |
Oops, something went wrong.