Skip to content

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.20.0 to 2.28.0 #611

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.20.0 to 2.28.0

Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.20.0 to 2.28.0 #611

Workflow file for this run

name: Lint
on:
- pull_request
- push
jobs:
super-linter:
name: Run Super-Linter
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Super-Linter
uses: github/[email protected]
env:
FILTER_REGEX_EXCLUDE: .*docs/.*
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_GO: false # Go linting is broken for now, see: https://github.com/github/super-linter/issues/143
VALIDATE_JSCPD: false # TODO(dfurman): consider configuring this linter
golangci-lint:
name: Run golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run golangci-lint
uses: golangci/[email protected]
with:
version: v1.43
check-docs:
name: Check if generated documentation is up-to-date
runs-on: ubuntu-latest
steps:
- name: Set up Go
id: go
uses: actions/setup-go@v3
with:
go-version: 1.17
- name: Checkout code
uses: actions/checkout@v3
- name: Check if generated documentation is up-to-date
run: make check-docs
check-go-mod:
name: Check Go module consistency
runs-on: ubuntu-latest
steps:
- name: Set up Go
id: go
uses: actions/setup-go@v3
with:
go-version: 1.17
- name: Checkout code
uses: actions/checkout@v3
- name: Check Go module consistency
run: make check-go-mod