This commit is contained in:
Max 2021-10-07 16:31:41 +08:00
parent ea303e4989
commit 15b1e953a0

View file

@ -5,15 +5,7 @@ on:
branches: [main]
pull_request:
branches: [main]
jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.17]
db: [SQLite3]
env:
env:
# 象传服务配置
XIANG_MODE: debug
XIANG_SOURCE: ${{ github.WORKSPACE }}
@ -46,6 +38,13 @@ jobs:
XIANG_LOG_DB: "fs:///${{ github.WORKSPACE }}/logs/db.log"
XIANG_LOG_PLUGIN: "fs:///${{ github.WORKSPACE }}/logs/plugin.log"
jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.17]
db: [SQLite3]
steps:
- name: Checkout Kun
uses: actions/checkout@v2
@ -64,6 +63,7 @@ jobs:
with:
repository: yaoapp/gou
path: gou
token: ${{ secrets.TOKEN }}
- name: Checkout Xiang
uses: actions/checkout@v2