Skip to content

Merge pull request #27 from sugusd/oscs_fix_civ74u8au51ueorq4cp0 #82

Merge pull request #27 from sugusd/oscs_fix_civ74u8au51ueorq4cp0

Merge pull request #27 from sugusd/oscs_fix_civ74u8au51ueorq4cp0 #82

Workflow file for this run

name: build
on:
push:
paths-ignore:
- "*.md"
- "*.sql"
- ".env-example"
- ".gitignore"
- "LICENSE"
- "docker-compose.yml"
pull_request:
paths-ignore:
- "*.md"
- "*.sql"
- ".env-example"
- ".gitignore"
- "LICENSE"
- "docker-compose.yml"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go mod download
- name: Build
run: |
CGO_ENABLED=0 go build -o app-cron ./cmd/crontab/main.go && \
CGO_ENABLED=0 go build -o app-api ./cmd/api/main.go && \
CGO_ENABLED=0 go build -o app-db ./cmd/db/main.go && \
CGO_ENABLED=0 go build -o app-dbinit ./cmd/dbinit/main.go