Skip to content

update docker-compose #2

update docker-compose

update docker-compose #2

Workflow file for this run

name: Golang API Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Build
run: go build -v ./...
- name: Start docker for test
run: docker-compose up -d
- name: Test
run: go test -v ./...