Skip to content

Bump github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue (#87) #356

Bump github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue (#87)

Bump github.com/aws/aws-sdk-go-v2/feature/dynamodb/attributevalue (#87) #356

Workflow file for this run

name: Go tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
go-test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22', '1.23' ]
services:
etcd:
image: bitnami/etcd
env:
ALLOW_NONE_AUTHENTICATION: yes
ports:
- 2379:2379
redis:
image: bitnami/redis
env:
ALLOW_EMPTY_PASSWORD: yes
ports:
- 6379:6379
redis-cluster:
image: grokzen/redis-cluster:7.0.10
env:
IP: 0.0.0.0
INITIAL_PORT: 11000
ports:
- 11000-11005:11000-11005
memcached:
image: bitnami/memcached
ports:
- 11211:11211
consul:
image: bitnami/consul
ports:
- 8500:8500
zookeeper:
image: bitnami/zookeeper
env:
ALLOW_ANONYMOUS_LOGIN: yes
ports:
- 2181:2181
postgresql:
image: bitnami/postgresql
env:
ALLOW_EMPTY_PASSWORD: yes
ports:
- 5432:5432
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Setup DynamoDB Local
uses: rrainn/[email protected]
with:
port: 8000
- name: Run tests
env:
ETCD_ENDPOINTS: 'localhost:2379'
REDIS_ADDR: 'localhost:6379'
REDIS_NODES: 'localhost:11000,localhost:11001,localhost:11002,localhost:11003,localhost:11004,localhost:11005'
CONSUL_ADDR: 'localhost:8500'
ZOOKEEPER_ENDPOINTS: 'localhost:2181'
AWS_ADDR: 'localhost:8000'
MEMCACHED_ADDR: '127.0.0.1:11211'
POSTGRES_URL: postgres://postgres@localhost:5432/?sslmode=disable
run: go test -race -v -coverprofile=coverage.txt -covermode=atomic ./...
- uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true