fix(deps): update module github.com/hashicorp/terraform-plugin-framew… #1787
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build and Setup | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Build | |
| uses: ./.github/actions/ci/build | |
| acc_test: | |
| name: Acceptance Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Setup Repo | |
| uses: ./.github/actions/ci/setup | |
| - name: Install Descope CLI | |
| uses: descope/descopecli/.github/actions/install@76722efc17408640a42340cbdae1528c363e9dc2 # v0.8.15 | |
| - name: Run Acceptance Tests | |
| shell: bash | |
| env: | |
| DESCOPE_MANAGEMENT_KEY: ${{ secrets.DESCOPE_MANAGEMENT_KEY }} | |
| DESCOPE_BASE_URL: ${{ secrets.DESCOPE_BASE_URL }} | |
| DESCOPE_USER_AGENT: ${{ secrets.DESCOPE_USER_AGENT }} | |
| DESCOPE_TESTACC_THROTTLE: ${{ vars.DESCOPE_TESTACC_THROTTLE }} | |
| DESCOPE_TESTACC_PREFIX: testacc-gh-${{ github.run_id }} | |
| TF_ACC: 1 | |
| run: | | |
| echo "Running acceptance tests" | |
| set +e | |
| go test -v ./... | |
| result=$? | |
| descope project list --json | | |
| jq -r --arg prefix "${DESCOPE_TESTACC_PREFIX}-" '.projects[]? | select(.name | startswith($prefix)) | .id' | | |
| xargs -r -I {} descope project delete {} --force | |
| cleanup_result=$? | |
| if [ "$result" -ne 0 ]; then | |
| exit "$result" | |
| fi | |
| exit "$cleanup_result" | |
| lint: | |
| name: Run Linter | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Run Linter | |
| uses: ./.github/actions/ci/lint | |
| leaks: | |
| name: Check Leaks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check Leaks | |
| uses: ./.github/actions/ci/leaks | |
| with: | |
| gitleaks_license: ${{ secrets.GITLEAKS_LICENSE }} |