chore(deps): bump github.com/aws/aws-sdk-go-v2/config from 1.27.43 to 1.28.0 in the dependencies group #667
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
name: test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
ports: | |
- 15432:5432 | |
env: | |
POSTGRES_HOST_AUTH_METHOD: trust | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
localstack: | |
image: localstack/localstack | |
ports: | |
- 4566:4566 | |
env: | |
SERVICES: iam,lambda,logs,sqs | |
options: >- | |
--health-cmd "curl -f localhost:4566/_localstack/health | grep -q available" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
volumes: | |
- "/var/run/docker.sock:/var/run/docker.sock" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
cache: false | |
- uses: hashicorp/setup-terraform@v3 | |
- uses: golangci/golangci-lint-action@v6 | |
- run: make | |
- run: terraform init && terraform apply -auto-approve | |
working-directory: _etc/terraform | |
- run: ./_etc/db/setup.sh | |
env: | |
PGDATABASE: qtr_test | |
- name: make test | |
uses: nick-fields/retry@v3 | |
with: | |
timeout_minutes: 10 | |
max_attempts: 3 | |
command: | | |
export TEST_QTR_DATABASE_DSN=postgres://qtr_test@localhost:15432 | |
export TEST_AWS_ENDPOINT_URL=http://localhost:4566 | |
make test |