Skip to content

Bump github.com/aws/aws-sdk-go from 1.54.17 to 1.54.19 in /tests #280

Bump github.com/aws/aws-sdk-go from 1.54.17 to 1.54.19 in /tests

Bump github.com/aws/aws-sdk-go from 1.54.17 to 1.54.19 in /tests #280

Workflow file for this run

name: Test PR
on:
pull_request:
jobs:
lint-validate:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
- name: Init
run: terraform init
- name: Validate
run: terraform validate
- name: tfsec
uses: aquasecurity/[email protected]
with:
github_token: ${{ github.token }}
- name: Setup TFLint
uses: terraform-linters/setup-tflint@v4
- name: Install tflint plugins
run: tflint --init
- name: Lint Terraform files
run: tflint
terratest:
runs-on: ubuntu-20.04
defaults:
run:
working-directory: tests
services:
localstack:
image: localstack/localstack
ports:
- 4566:4566
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
- uses: actions/setup-go@v5
- run: cp mocks/mock_provider.tf ../
- run: terraform -chdir=.. init
- name: terratest
run: go test
dependabot:
needs: [lint-validate, terratest]
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}