feat: landingserver 新增自定义根路径跳转地址 #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
setup-test-build: | |
name: Setup, Test and Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.13 | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.13 | |
id: go | |
- name: Setup Redis | |
uses: zhulik/[email protected] | |
with: | |
redis version: latest | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v2 | |
- name: Get dependencies | |
run: go mod download | |
- name: Test | |
run: go test ./... | |
- name: Build | |
if: success() | |
env: | |
CGO_ENABLED: 0 | |
run: | | |
go build -o apiserver -v ./cmd/apiserver | |
go build -o landingserver -v ./cmd/landingserver | |
go build -o createuser -v ./cmd/createuser | |
go build -o migraterequesthistory -v ./cmd/migraterequesthistory |