Allow empty description for hcp_group updates #14
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 Identity Tests on Identity Code Changes | |
on: | |
pull_request: | |
paths: | |
- 'internal/provider/iam/**' | |
jobs: | |
identity_tests: | |
name: Run identity specific tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | |
- name: Set up Go | |
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
with: | |
cache: true | |
go-version-file: 'go.mod' | |
cache-dependency-path: go.sum | |
id: go | |
- name: Run 'go mod tidy' and check for differences | |
run: | | |
make depscheck | |
- name: Get dependencies | |
run: | | |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3 | |
go mod download | |
- name: Build | |
run: | | |
go build -v . | |
- name: Run identity tests | |
env: | |
HCP_API_HOST: ${{ secrets.HCP_API_HOST }} | |
HCP_AUTH_URL: ${{ secrets.HCP_AUTH_URL }} | |
HCP_CLIENT_ID: ${{ secrets.HCP_CLIENT_ID }} | |
HCP_CLIENT_SECRET: ${{ secrets.HCP_CLIENT_SECRET }} | |
HCP_ORGANIZATION_ID: ${{ secrets.HCP_ORGANIZATION_ID }} | |
HCP_PROJECT_ID: ${{ secrets.HCP_PROJECT_ID }} | |
run: | | |
make testacc-ci TEST=./internal/provider/iam |