+ Token
This commit is contained in:
parent
ea303e4989
commit
15b1e953a0
1 changed files with 33 additions and 33 deletions
18
.github/workflows/unit-test.yml
vendored
18
.github/workflows/unit-test.yml
vendored
|
|
@ -5,15 +5,7 @@ on:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
env:
|
||||||
jobs:
|
|
||||||
unit-test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
go: [1.17]
|
|
||||||
db: [SQLite3]
|
|
||||||
env:
|
|
||||||
# 象传服务配置
|
# 象传服务配置
|
||||||
XIANG_MODE: debug
|
XIANG_MODE: debug
|
||||||
XIANG_SOURCE: ${{ github.WORKSPACE }}
|
XIANG_SOURCE: ${{ github.WORKSPACE }}
|
||||||
|
|
@ -46,6 +38,13 @@ jobs:
|
||||||
XIANG_LOG_DB: "fs:///${{ github.WORKSPACE }}/logs/db.log"
|
XIANG_LOG_DB: "fs:///${{ github.WORKSPACE }}/logs/db.log"
|
||||||
XIANG_LOG_PLUGIN: "fs:///${{ github.WORKSPACE }}/logs/plugin.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:
|
steps:
|
||||||
- name: Checkout Kun
|
- name: Checkout Kun
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
@ -64,6 +63,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repository: yaoapp/gou
|
repository: yaoapp/gou
|
||||||
path: gou
|
path: gou
|
||||||
|
token: ${{ secrets.TOKEN }}
|
||||||
|
|
||||||
- name: Checkout Xiang
|
- name: Checkout Xiang
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue