Skip to content

Merge branch 'main' of https://github.com/rasekoli/terraform-provider… #2

Merge branch 'main' of https://github.com/rasekoli/terraform-provider…

Merge branch 'main' of https://github.com/rasekoli/terraform-provider… #2

Workflow file for this run

name: ProviderLint Checks
on:
push:
branches:
- main
- 'release/**'
pull_request:
paths:
- .github/workflows/providerlint.yml
- GNUmakefile
- go.sum
- internal/**
- names/**
jobs:
providerlint:
runs-on: [custom, linux, medium]
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: go.mod
- name: go env
run: echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
continue-on-error: true
timeout-minutes: 2
with:
path: ${{ env.GOCACHE }}
key: ${{ runner.os }}-GOCACHE-${{ hashFiles('go.sum') }}-${{ hashFiles('internal/**') }}
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
continue-on-error: true
timeout-minutes: 2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
- run: cd .ci/providerlint && go install -buildvcs=false .
- run: make providerlint