Adding traffic_distribution field #195
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: Deferred Actions | |
on: | |
pull_request: | |
branches: | |
- main | |
- v3-major-release | |
paths: | |
- "manifest/**/*.go" | |
- 'kubernetes/**/*.go' | |
- "go.mod" | |
workflow_dispatch: | |
inputs: | |
terraformVersion: | |
description: Terraform version | |
default: 1.10.0-alpha20240807 | |
jobs: | |
acceptance_tests: | |
if: ${{ github.repository_owner == 'hashicorp' }} | |
runs-on: custom-linux-medium | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Set up Go | |
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
with: | |
go-version-file: 'go.mod' | |
- name: Run Tests | |
env: | |
TF_ACC: 1 | |
TF_ACC_TERRAFORM_VERSION: ${{ github.event.inputs.terraformVersion || '1.9.0-alpha20240516' }} | |
run: | | |
go test -v -run '^TestAccKubernetesDeferredActions' ./kubernetes/test-dfa |