Skip to content

release: v0.37.0

release: v0.37.0 #68

Workflow file for this run

name: Integration
on:
pull_request:
branches:
- main
- dev
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Clean and build
run: |
go clean -cache
go build ./...
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Lint
run: test -z $(gofmt -l src/**/*)
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Setup Docker
run: docker-compose up -d
- name: Test
run: |
export DB_MIGRATIONS_PATH=file://$(pwd)/sql/migrations
go clean -cache
go test __tests__/integration/*.go