Skip to content

Commit

Permalink
Remove tfproviderlint
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Aug 25, 2022
1 parent 9b370bb commit e19a400
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 47 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/depscheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
depscheck:
needs: go-version
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/docs-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
docs-lint:
needs: go-version
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/golint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
golint:
needs: go-version
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/teamcity-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ on:
jobs:
teamcity-test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v1
Expand Down
66 changes: 32 additions & 34 deletions .github/workflows/tflint.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,32 @@
---
name: Terraform Schema Linting
on:
pull_request:
types: ['opened', 'synchronize']
paths:
- '**.go'
- 'vendor/**'
- '.github/workflows/**'

jobs:
go-version:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.go-version.outputs.version }}
steps:
- uses: actions/checkout@v2

- id: go-version
run: echo "::set-output name=version::$(cat ./.go-version)"

tflint:
needs: go-version
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '${{ needs.go-version.outputs.version }}'
- run: bash scripts/gogetcookie.sh
- run: make tools
- run: make tflint
#---
#name: Terraform Schema Linting
#on:
# pull_request:
# types: ['opened', 'synchronize']
# paths:
# - '**.go'
# - 'vendor/**'
# - '.github/workflows/**'
#
#jobs:
# go-version:
# runs-on: ubuntu-latest
# outputs:
# version: ${{ steps.go-version.outputs.version }}
# steps:
# - uses: actions/checkout@v2
#
# - id: go-version
# run: echo "::set-output name=version::$(cat ./.go-version)"
#
# tflint:
# needs: go-version
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-go@v2
# with:
# go-version: '${{ needs.go-version.outputs.version }}'
# - run: bash scripts/gogetcookie.sh
# - run: make tools
# - run: make tflint
2 changes: 0 additions & 2 deletions .github/workflows/thirty-two-bit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
compatibility-32bit-test:
needs: go-version
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ jobs:
test:
needs: go-version
runs-on: ubuntu-latest
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tools:
go install github.com/bflad/tfproviderdocs@latest
go install github.com/katbyte/terrafmt@latest
go install mvdan.cc/gofumpt@latest
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$$(go env GOPATH || $$GOPATH)"/bin v1.45.2
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$$(go env GOPATH || $$GOPATH)"/bin v1.49.0

build: fmtcheck
go install
Expand Down

0 comments on commit e19a400

Please sign in to comment.