Skip to content

chore: fix golangci-lint warning (#3326) #13498

chore: fix golangci-lint warning (#3326)

chore: fix golangci-lint warning (#3326) #13498

name: Run tfproviderlint
permissions:
contents: read
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@v5
- uses: actions/setup-go@v5
with:
go-version: 1.24.0
- name: Install tfproviderlint
run: go install github.com/bflad/tfproviderlint/cmd/tfproviderlint
- name: Run tfproviderlint
run: make tfproviderlint
- name: Run tfproviderlintx
run: make tfproviderlintx
tfproviderdocs:
runs-on: ubuntu-latest
steps:
# Checkout should always be before setup-go to ensure caching is working
- uses: actions/checkout@v5
- uses: actions/setup-go@v5
with:
go-version: 1.24.0
- uses: hashicorp/setup-terraform@v3
- run: go install github.com/bflad/tfproviderdocs@latest
- run: make tfproviderdocs