Bump github.com/hashicorp/terraform-plugin-docs from 0.19.4 to 0.20.1 #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Workflow | |
on: | |
pull_request: | |
types: [ synchronize, opened, reopened] | |
branches: [ 'main' ] | |
jobs: | |
linter: | |
name: Linter | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 # Sets a timeout of 10 minutes for this job (default is 1 minute) | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.23' | |
cache: false | |
- name: Check Go Formatting | |
run: | | |
files=$(gofmt -l .) && echo $files && [ -z "$files" ] | |
- name: Golang CI Lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.61.0 # Specify the golangci-lint version, so we are stable | |
args: --timeout 10m # Increase the timeout to 10 minutes | |
- name: Run make generate-help | |
run: | | |
make generate-help | |
- name: Ensure that make generate-help did not result in changes | |
uses: CatChen/check-git-status-action@v1 | |
with: | |
fail-if-not-clean: true |