This repository has been archived by the owner on Jan 17, 2024. It is now read-only.
Bump actions/setup-go from 4.0.0 to 5.0.0 #214
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version: 1.18 | |
- uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3 | |
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: go test -v |