Skip to content

build(deps): bump github.com/hashicorp/go-getter from 1.6.1 to 1.7.5 in /examples/tests #19

build(deps): bump github.com/hashicorp/go-getter from 1.6.1 to 1.7.5 in /examples/tests

build(deps): bump github.com/hashicorp/go-getter from 1.6.1 to 1.7.5 in /examples/tests #19

Workflow file for this run

jobs:
terratest:
name: terratest
runs-on: "ubuntu-latest"
defaults:
run:
working-directory: examples/tests
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout
uses: actions/checkout@v3
# Install and set up LocalStack
- name: Start LocalStack
run: |
pip install localstack # install LocalStack cli
docker pull localstack/localstack # Make sure to pull the latest version of the image
localstack start -d # Start LocalStack in the background
echo "Waiting for LocalStack startup..." # Wait 30 seconds for the LocalStack container
localstack wait -t 30 # to become ready before timing out
echo "Startup complete"
# Install the latest version of Terraform CLI
- name: Setup Terraform
uses: hashicorp/setup-terraform@v2
with:
terraform_wrapper: false
# Install and set up Golang
- name: Set Up Go
uses: actions/setup-go@v3
with:
go-version: 1.19.x
# Get all golang dependencies
- name: Get dependencies
run: go mod tidy
# Run terratest
- name: Run Terratest
run: go test -v -timeout 90m
name: "terratest"
on:
pull_request:
branches:
- master
paths-ignore:
- "**.md"