Skip to content

Upgraded go.mod

Upgraded go.mod #57

Workflow file for this run

# Red Instance Module Testing Workflow
name: Testing Red Instance Module
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Terraform
uses: hashicorp/[email protected]
with:
terraform_version: 1.14.3
- name: Set up Go
uses: actions/[email protected]
with:
go-version: "1.25.6"
- name: Checkout code
uses: actions/[email protected]
- name: Setup Dependencies
working-directory: tests/
run: go get -v -t -d && go mod tidy
- name: Test
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
working-directory: tests/
run: go test -timeout 30m red_instance_test.go -v