Skip to content

Add github action tests #5

Add github action tests

Add github action tests #5

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20
- name: Start containers
run: |
docker-compose up -d
sleep 3
- name: Install dependencies
run: |
go get .
- name: Test
run: go test -p 1 ./...