Skip to content

WiP: Start using slog #457

WiP: Start using slog

WiP: Start using slog #457

Workflow file for this run

name: checks
on: [
pull_request,
workflow_dispatch,
]
env:
TERM: xterm
REVIVE_FORCE_COLOR: 1
jobs:
test:
name: run-testcases
runs-on: ubuntu-latest
strategy:
matrix:
go_version: ['1.19']
# services:
# redis:
# image: redis:5.0-alpine
# ports:
# - 6379:6379
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go_version }}
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: start services
run: docker compose up -d
- name: run testcases
run: make test2
- name: benchmark
run: make bench
- name: linter
run: make lint
- name: vet
run: make vet