Skip to content

Commit 39cdc9b

Browse files
committed
dispatch
1 parent 2f1d641 commit 39cdc9b

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/go.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches: [ master, debug ]
66
pull_request:
77
branches: [ master ]
8+
repository_dispatch:
9+
# go-wechaty updated
10+
types: [ updatedeps ]
811

912
jobs:
1013
build:

.github/workflows/testonwin.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
# This is a basic workflow to help you get started with Actions
21

32
name: Update Dependencies and Test on Windows
43

5-
# Controls when the action will run. Triggers the workflow on push or pull request
6-
# events but only for the master branch
74
on:
85
push:
96
branches: [ master ]
107
pull_request:
118
branches: [ master ]
129

13-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1410
jobs:
1511
UpdateDep:
1612
name: Update Dependency
@@ -22,7 +18,6 @@ jobs:
2218
- name: Setup Go environment
2319
uses: actions/[email protected]
2420
with:
25-
# The Go version to download (if necessary) and use. Supports semver spec and ranges.
2621
go-version: 1.14.4 # optional
2722
- name: Update Dependency
2823
env:
@@ -59,25 +54,21 @@ jobs:
5954
[1]: https://github.com/peter-evans/create-pull-request
6055
branch: update-dependencies
6156

62-
6357
Build:
6458
name: Build on Windows
6559
needs: UpdateDep
66-
# The type of runner that the job will run on
60+
# Test on Windows
6761
runs-on: windows-latest
6862

69-
# Steps represent a sequence of tasks that will be executed as part of the job
7063
steps:
7164
- name: Checkout
7265
uses: actions/checkout@v2
7366

7467
- name: Setup Go environment
7568
uses: actions/[email protected]
7669
with:
77-
# The Go version to download (if necessary) and use. Supports semver spec and ranges.
7870
go-version: 1.14.4 # optional
7971

80-
# Runs a single command using the runners shell
8172
- name: Build Dingdongbot
8273
run: |
8374
go vet ./...

0 commit comments

Comments
 (0)