Skip to content

build(deps): bump ministryofjustice/github-actions from 18.5.0 to 18.6.0 #744

build(deps): bump ministryofjustice/github-actions from 18.5.0 to 18.6.0

build(deps): bump ministryofjustice/github-actions from 18.5.0 to 18.6.0 #744

Workflow file for this run

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@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.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]}