Skip to content

Update to gocommon v1.89.2 which resolves AWS region for S3 URLs internally #76

Update to gocommon v1.89.2 which resolves AWS region for S3 URLs internally

Update to gocommon v1.89.2 which resolves AWS region for S3 URLs internally #76

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
container:
image: golang:1.26-trixie
services:
valkey:
image: valkey/valkey:8.1-alpine
ports:
- 6379:6379
postgres:
image: postgres:15-alpine
env:
POSTGRES_DB: archiver_test
POSTGRES_USER: archiver_test
POSTGRES_PASSWORD: temba
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
localstack:
image: localstack/localstack:4.14
env:
SERVICES: s3,cloudwatch
ports:
- 4566:4566
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Check formatting
run: test -z "$(gofmt -l .)" || { echo "These files need gofmt:"; gofmt -l .; exit 1; }
- name: Vet
run: go vet ./...
- name: Run tests
run: go test -p=1 ./...