mirror of https://github.com/databricks/cli.git
Run go mod tidy in fmt job (#150)
This commit is contained in:
parent
fdb8c97f6b
commit
ce55284398
|
@ -67,6 +67,10 @@ jobs:
|
||||||
# -w: write back formatted files to disk
|
# -w: write back formatted files to disk
|
||||||
gofmt -l -w ./
|
gofmt -l -w ./
|
||||||
|
|
||||||
|
- name: Run go mod tidy
|
||||||
|
run: |
|
||||||
|
go mod tidy
|
||||||
|
|
||||||
- name: Fail on differences
|
- name: Fail on differences
|
||||||
run: |
|
run: |
|
||||||
# Exit with status code 1 if there are differences (i.e. unformatted files)
|
# Exit with status code 1 if there are differences (i.e. unformatted files)
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -22,13 +22,13 @@ require (
|
||||||
github.com/hashicorp/go-version v1.6.0
|
github.com/hashicorp/go-version v1.6.0
|
||||||
github.com/hashicorp/hc-install v0.4.0
|
github.com/hashicorp/hc-install v0.4.0
|
||||||
github.com/hashicorp/terraform-exec v0.17.3
|
github.com/hashicorp/terraform-exec v0.17.3
|
||||||
|
github.com/hashicorp/terraform-json v0.14.0
|
||||||
golang.org/x/exp v0.0.0-20221031165847-c99f073a8326
|
golang.org/x/exp v0.0.0-20221031165847-c99f073a8326
|
||||||
golang.org/x/sync v0.1.0
|
golang.org/x/sync v0.1.0
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
|
||||||
github.com/hashicorp/terraform-json v0.14.0 // indirect
|
|
||||||
github.com/zclconf/go-cty v1.11.0 // indirect
|
github.com/zclconf/go-cty v1.11.0 // indirect
|
||||||
golang.org/x/crypto v0.1.0 // indirect
|
golang.org/x/crypto v0.1.0 // indirect
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue