Skip to content

build(deps): bump github.com/go-resty/resty/v2 from 2.10.0 to 2.11.0 #22

build(deps): bump github.com/go-resty/resty/v2 from 2.10.0 to 2.11.0

build(deps): bump github.com/go-resty/resty/v2 from 2.10.0 to 2.11.0 #22

Workflow file for this run

name: Real Provider Tests
on: [pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
env:
IMPROVMX_API_TOKEN: ${{ secrets.IMPROVMX_TF_TEST }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.21
- run: |
go mod download
go build .
- uses: hashicorp/setup-terraform@v3
- run: |
cat <<~EOF >> ~/.terraformrc
provider_installation {
dev_overrides {
"issyl0/improvmx" = "/home/runner/work/terraform-provider-improvmx/terraform-provider-improvmx"
}
}
~EOF
- name: plan
run: terraform plan
working-directory: tests/acceptance/
- name: apply
run: terraform apply -auto-approve
working-directory: tests/acceptance/
- name: import
run: |
terraform state rm improvmx_domain.lychee
terraform import improvmx_domain.lychee lychee.systems
working-directory: tests/acceptance/
- name: destroy
run: terraform destroy -auto-approve
working-directory: tests/acceptance/