mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 10:02:09 +08:00
添加dev分支的action
This commit is contained in:
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
@@ -2,9 +2,9 @@ name: Go
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [ "main", "dev" ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
branches: [ "main", "dev" ]
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
run: |
|
||||
cd server
|
||||
go build -v -o anylink -ldflags "-X main.COMMIT_ID=`git rev-parse HEAD`"
|
||||
./anylink -rev
|
||||
./anylink tool -v
|
||||
|
||||
- name: Test coverage
|
||||
run: |
|
||||
|
Reference in New Issue
Block a user