Skip to content

fix: update postgres docs reference typos #33

fix: update postgres docs reference typos

fix: update postgres docs reference typos #33

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
DB_NAME: test_tenants
DB_USER: postgres
DB_PASSWORD: postgres
DB_PORT: 5432
DB_HOST: localhost
services:
db:
image: postgres:latest
env:
POSTGRES_DB: ${{ env.DB_NAME }}
POSTGRES_USER: ${{ env.DB_USER }}
POSTGRES_PASSWORD: ${{ env.DB_PASSWORD }}
ports:
- 5432:5432
volumes:
- db-data:/var/lib/postgresql/data
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: 1.21
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Get dependencies
run: |
go get -v -t -d ./...
if [ -f Gopkg.toml ]; then
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
dep ensure
fi
- name: Test
run: go test -v -coverprofile=./profile.cov ./...
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: ./profile.cov
- name: Install FOSSA
run: |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
- name: Run FOSSA analysis
run: fossa analyze
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
- name: Check FOSSA status
run: fossa test
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
semantic-release:
needs: [build]
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
steps:
- uses: actions/checkout@v4
- name: Run semantic-release
if: github.repository == 'bartventer/gorm-multitenancy' && github.event_name == 'push'
run: |
yarn global add semantic-release@17
semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}