Skip to content

ci: Update infrastructure repository on release #116

ci: Update infrastructure repository on release

ci: Update infrastructure repository on release #116

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
env:
EXEC_ENVIRONMENT: testing
run: |
export DB_MIGRATIONS_PATH=file://$(pwd)/sql/migrations
go clean -cache
go test __tests__/integration/*.go