Skip to content

Commit

Permalink
Bump to Go v1.19.3, disable tflint workflow until bflad/tfproviderlin…
Browse files Browse the repository at this point in the history
…t#255 is fixed
  • Loading branch information
manicminer committed Nov 18, 2022
1 parent 268e0ed commit 7ea19bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tflint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
tflint:
runs-on: ubuntu-latest
if: false # skip until https://github.com/bflad/tfproviderlint/issues/255 is fixed
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.19.0
1.19.3
7 changes: 3 additions & 4 deletions GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
TEST?=$$(go list ./... |grep -v 'vendor')
PKG_NAME=internal
PROVIDER=azuread


Expand Down Expand Up @@ -38,7 +37,7 @@ fmtcheck:

goimports:
@echo "==> Fixing imports code with goimports..."
goimports -local "github.com/hashicorp/terraform-provider-azuread" -w $(PKG_NAME)/
goimports -local "github.com/hashicorp/terraform-provider-azuread" -w internal/

lint:
@echo "==> Checking source code against linters..."
Expand All @@ -53,7 +52,7 @@ tflint:
-S021 -S022 -S023 -S024 -S025 -S026 -S027 -S028 -S029 -S030 -S031 -S032 -S033 -S034\
-V002 -V003 -V004 -V005 -V006 -V007\
-XR002\
./$(PKG_NAME)/...
./internal/...
@sh -c "'$(CURDIR)/scripts/terrafmt-acctests.sh'"

whitespace:
Expand Down Expand Up @@ -88,7 +87,7 @@ debugacc: fmtcheck
test-compile:
@if [ "$(TEST)" = "./..." ]; then \
echo "ERROR: Set TEST to a specific package. For example,"; \
echo " make test-compile TEST=./$(PKG_NAME)"; \
echo " make test-compile TEST=./internal"; \
exit 1; \
fi
go test -c $(TEST) $(TESTARGS)
Expand Down

0 comments on commit 7ea19bf

Please sign in to comment.