Skip to content

Commit 103dcd0

Browse files
committed
Test conditional execution
1 parent 20881f6 commit 103dcd0

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

.github/workflows/extra.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
with:
2424
go-version: 1.14.4 # optional
2525
- name: Update Dependency
26+
if: ${{ ! endsWith(${{ github.ref }}, 'update-dependencies') }}
2627
env:
2728
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2829
run: go get -u ./...
2930

30-
- name: Verify Defference
31+
- name: Test
3132
run: |
32-
echo "Verifying"
3333
make install
3434
make test
3535

go.mod

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,5 @@ module github.com/wechaty/go-wechaty-getting-started
22

33
go 1.14
44

5-
require (
6-
github.com/golang/protobuf v1.4.2 // indirect
7-
github.com/maruel/rs v1.0.0 // indirect
8-
github.com/otiai10/opengraph v1.1.2 // indirect
9-
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e // indirect
10-
github.com/wechaty/go-grpc v0.17.1 // indirect
11-
github.com/wechaty/go-wechaty v0.1.2
12-
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
13-
golang.org/x/net v0.0.0-20200822124328-c89045814202 // indirect
14-
golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8 // indirect
15-
golang.org/x/text v0.3.3 // indirect
16-
golang.org/x/tools v0.0.0-20200823205832-c024452afbcd // indirect
17-
google.golang.org/genproto v0.0.0-20200815001618-f69a88009b70 // indirect
18-
google.golang.org/grpc v1.31.0 // indirect
19-
google.golang.org/protobuf v1.25.0 // indirect
20-
)
5+
require github.com/wechaty/go-wechaty v0.1.2
6+

0 commit comments

Comments
 (0)