From e19a4001a9bf1bb75dfa5c1a26511439c69ccf35 Mon Sep 17 00:00:00 2001 From: Tom Bamford Date: Thu, 25 Aug 2022 17:14:21 +0100 Subject: [PATCH] Remove tfproviderlint --- .github/workflows/depscheck.yml | 2 - .github/workflows/docs-lint.yml | 2 - .github/workflows/golint.yml | 2 - .github/workflows/teamcity-test.yml | 2 - .github/workflows/tflint.yml | 66 ++++++++++++++-------------- .github/workflows/thirty-two-bit.yml | 2 - .github/workflows/unit-test.yml | 2 - GNUmakefile | 2 +- 8 files changed, 33 insertions(+), 47 deletions(-) diff --git a/.github/workflows/depscheck.yml b/.github/workflows/depscheck.yml index 5ecb959609..14229f3995 100644 --- a/.github/workflows/depscheck.yml +++ b/.github/workflows/depscheck.yml @@ -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 diff --git a/.github/workflows/docs-lint.yml b/.github/workflows/docs-lint.yml index f4568e250e..9ef56d4022 100644 --- a/.github/workflows/docs-lint.yml +++ b/.github/workflows/docs-lint.yml @@ -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 diff --git a/.github/workflows/golint.yml b/.github/workflows/golint.yml index 1cc32c674d..1f3d538f80 100644 --- a/.github/workflows/golint.yml +++ b/.github/workflows/golint.yml @@ -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 diff --git a/.github/workflows/teamcity-test.yml b/.github/workflows/teamcity-test.yml index 35fd11fcfc..85a268682b 100644 --- a/.github/workflows/teamcity-test.yml +++ b/.github/workflows/teamcity-test.yml @@ -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 diff --git a/.github/workflows/tflint.yml b/.github/workflows/tflint.yml index cf613e0aad..a2b2346b7f 100644 --- a/.github/workflows/tflint.yml +++ b/.github/workflows/tflint.yml @@ -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 diff --git a/.github/workflows/thirty-two-bit.yml b/.github/workflows/thirty-two-bit.yml index 7a7aece634..3218f7efd8 100644 --- a/.github/workflows/thirty-two-bit.yml +++ b/.github/workflows/thirty-two-bit.yml @@ -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 diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 83dcd5a31c..2a1fa1cc72 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -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 diff --git a/GNUmakefile b/GNUmakefile index b7459ccab7..e0535c82dd 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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