Skip to content

Move test db utils to a separate package #30

Move test db utils to a separate package

Move test db utils to a separate package #30

Workflow file for this run

name: Go
on:
push:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.21.3' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go get .
- name: Build
run: go build -v .
- name: Create test data directories
run: mkdir bookmarks/test_data && mkdir migrations/test_data
- name: Run tests
run: go test -v ./...
- name: Run static checks
uses: dominikh/[email protected]
with:
version: "2023.1.7"
install-go: false
min-go-version: ${{ matrix.go-version }}