Skip to content

feat(experimental): add internal migrate package and SessionLocker interface #132

feat(experimental): add internal migrate package and SessionLocker interface

feat(experimental): add internal migrate package and SessionLocker interface #132

Workflow file for this run

name: Goose CI
on:
push:
branches:
- master
pull_request:
jobs:
test:
name: Run unit tests
timeout-minutes: 10
strategy:
matrix:
go-version: ["1.19", "1.20", "1.21"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Check Go code formatting
run: |
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
gofmt -s -l .
echo "Please format Go code by running: go fmt ./..."
exit 1
fi
- name: Run tests
run: |
mkdir -p bin
go vet ./...
go build ./...
make test-packages