Skip to content

Merge pull request #13 from saaste/12-fix-version #61

Merge pull request #13 from saaste/12-fix-version

Merge pull request #13 from saaste/12-fix-version #61

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 }}