Skip to content

[MAINT] Create custom golangci-lint to integrate tfproviderlint #1

[MAINT] Create custom golangci-lint to integrate tfproviderlint

[MAINT] Create custom golangci-lint to integrate tfproviderlint #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
- release-v*
paths:
- tools/tfproviderlint/**
pull_request:
branches:
- main
- release-v*
paths:
- tools/tfproviderlint/**
concurrency:
group: ci-linter-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
test:
name: Custom Linter Tests
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set-up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version-file: go.mod
cache: true
cache-dependency-path: |
go.sum
tools/tfproviderlint/go.sum
- run: make test-tools