File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 5
5
branches : [ master, debug ]
6
6
pull_request :
7
7
branches : [ master ]
8
+ repository_dispatch :
9
+ # go-wechaty updated
10
+ types : [ updatedeps ]
8
11
9
12
jobs :
10
13
build :
Original file line number Diff line number Diff line change 1
- # This is a basic workflow to help you get started with Actions
2
1
3
2
name : Update Dependencies and Test on Windows
4
3
5
- # Controls when the action will run. Triggers the workflow on push or pull request
6
- # events but only for the master branch
7
4
on :
8
5
push :
9
6
branches : [ master ]
10
7
pull_request :
11
8
branches : [ master ]
12
9
13
- # A workflow run is made up of one or more jobs that can run sequentially or in parallel
14
10
jobs :
15
11
UpdateDep :
16
12
name : Update Dependency
22
18
- name : Setup Go environment
23
19
24
20
with :
25
- # The Go version to download (if necessary) and use. Supports semver spec and ranges.
26
21
go-version : 1.14.4 # optional
27
22
- name : Update Dependency
28
23
env :
@@ -59,25 +54,21 @@ jobs:
59
54
[1]: https://github.com/peter-evans/create-pull-request
60
55
branch : update-dependencies
61
56
62
-
63
57
Build :
64
58
name : Build on Windows
65
59
needs : UpdateDep
66
- # The type of runner that the job will run on
60
+ # Test on Windows
67
61
runs-on : windows-latest
68
62
69
- # Steps represent a sequence of tasks that will be executed as part of the job
70
63
steps :
71
64
- name : Checkout
72
65
uses : actions/checkout@v2
73
66
74
67
- name : Setup Go environment
75
68
76
69
with :
77
- # The Go version to download (if necessary) and use. Supports semver spec and ranges.
78
70
go-version : 1.14.4 # optional
79
71
80
- # Runs a single command using the runners shell
81
72
- name : Build Dingdongbot
82
73
run : |
83
74
go vet ./...
You can’t perform that action at this time.
0 commit comments