Skip to content

Add s3 batch consumer #155

Add s3 batch consumer

Add s3 batch consumer #155

Workflow file for this run

name: Go Test
on:
pull_request:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event_name == 'push' && github.sha || github.ref }}
cancel-in-progress: true
jobs:
go-tests:
runs-on: ubuntu-latest
timeout-minutes: 2 # in minutes
services:
s3:
image: localstack/localstack:s3-latest
ports:
- "127.0.0.1:4566:4566"
env:
DEBUG: ${DEBUG:-0}
S3_BUCKET: ${S3_BUCKET:-locals3}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID:-test}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY:-test}
volumes:
- "${{ github.workspace }}/s3_local/init_s3.py:/etc/localstack/init/ready.d/init-s3.py"
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.23.x'
- name: Install dependencies
run: go mod download
- name: Test with the Go CLI
run: go test ./host ./eth ./tele