build(deps): bump github.com/gruntwork-io/terratest from 0.48.0 to 0.48.1 in /test #1251
Workflow file for this run
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
on: | |
pull_request: | |
types: [opened, edited, reopened, synchronize] | |
permissions: {} | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
TF_IN_AUTOMATION: true | |
jobs: | |
go-tests: | |
permissions: | |
contents: read | |
actions: write | |
name: Run Go Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 | |
with: | |
go-version: 1.23 | |
cache-dependency-path: "**/go.sum" | |
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 | |
with: | |
terraform_version: ~1.3 | |
terraform_wrapper: false | |
- name: Download Go Modules | |
working-directory: test | |
run: go mod download | |
- name: Run Go Tests | |
working-directory: test | |
run: | | |
chmod 700 ../scripts/redact-output.sh | |
go test -v | ../scripts/redact-output.sh | |
exit ${PIPESTATUS[0]} |