Skip to content

Feat 46 sso system

Feat 46 sso system #47

Workflow file for this run

name: Go CI
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Create .env
run: cp .env.example .env
- name: Test
run: go test ./...
build:
runs-on: ubuntu-latest
needs:
- test
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Create .env
run: cp .env.example .env
- name: Run Docker Compose Prod
run: |
docker compose --profile integration-tests up -d
- name: Up migrations
run: |
go run cmd/main.go -up