Bump bridgecrewio/checkov-action from 12.2845.0 to 12.2846.0 #985
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 1.18 | |
- uses: hashicorp/setup-terraform@651471c36a6092792c552e8b1bef71e592b462d8 # v3.1.1 | |
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]} |