chore: factor all sweepers in the sdk #10216
Workflow file for this run
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: Run tfproviderlint | |
on: | |
pull_request: | |
push: | |
merge_group: | |
jobs: | |
tfproviderlint: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout should always be before setup-go to ensure caching is working | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: Install tfproviderlint | |
run: go install github.com/bflad/tfproviderlint/cmd/tfproviderlint | |
- name: Run tfproviderlint | |
run: make tfproviderlint | |
tfproviderdocs: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout should always be before setup-go to ensure caching is working | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- uses: hashicorp/setup-terraform@v3 | |
- run: go install github.com/bflad/tfproviderdocs@latest | |
- run: make tfproviderdocs |