Skip to content

Commit de6b4f9

Browse files
committed
use to update deps
1 parent 67c2f4c commit de6b4f9

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

.github/workflows/testonwin.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,10 @@ jobs:
3333
- name: Verify Defference
3434
run: |
3535
echo "Verifying"
36-
if [ $(md5sum go.mod | cut -d " " -f1) != $(md5sum go.mod.bak | cut -d " " -f1) ]
37-
then
38-
git checkout -b update-dependencies
39-
git add go.mod
40-
git commit -m "update-dependencies commit"
41-
echo "Updated"
42-
else
43-
echo "Have been updated"
44-
fi
45-
rm -f go.mod.bak
36+
go get -u ./...
37+
make install
38+
make test
39+
4640
- name: Create Pull Request
4741
uses: peter-evans/create-pull-request@v2
4842
with:
@@ -59,7 +53,7 @@ jobs:
5953

6054
Build:
6155
name: Build on Windows
62-
needs: UpdateDep
56+
# needs: UpdateDep
6357
# Test on Windows
6458
runs-on: windows-latest
6559

go.mod

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,17 @@ module github.com/wechaty/go-wechaty-getting-started
22

33
go 1.14
44

5-
require github.com/wechaty/go-wechaty v0.1.2
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/net v0.0.0-20200822124328-c89045814202 // indirect
13+
golang.org/x/sys v0.0.0-20200824131525-c12d262b63d8 // indirect
14+
golang.org/x/text v0.3.3 // indirect
15+
google.golang.org/genproto v0.0.0-20200815001618-f69a88009b70 // indirect
16+
google.golang.org/grpc v1.31.0 // indirect
17+
google.golang.org/protobuf v1.25.0 // indirect
18+
)

0 commit comments

Comments
 (0)