Skip to content

refactor: log to support sublog #64

refactor: log to support sublog

refactor: log to support sublog #64

Workflow file for this run

name: test
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Test
runs-on: ubuntu-latest
services:
postgres:
image: postgres:alpine
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: realworld
ports:
- 5432:5432
mongo:
image: mongo
env:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
ports:
- 27017:27017
steps:
- uses: actions/setup-go@v4
with:
go-version: '^1.21.0'
check-latest: true
- name: Check out code
uses: actions/checkout@v3
- name: Mod tidy
run: go mod tidy
- name: Test
run: make test_all