Skip to content

Commit

Permalink
move Go module to github.com/wechaty/go-grpc (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed Apr 13, 2020
1 parent bf3a70a commit ea6318f
Show file tree
Hide file tree
Showing 23 changed files with 7,491 additions and 10 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Go

on: [push, pull_request]

jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: |
make generate-go
go build -v go/wechaty/puppet.pb.go
- name: Deploy
run: bash -x scripts/deploy-go.sh

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ test-py: pytest

.PHONY: test-go
test-go:
cd ./go && go test ./...
cd tests && go test ./...

.PHONY: check-version
check-version:
Expand Down
2,372 changes: 2,372 additions & 0 deletions go/wechaty/puppet.pb.go

Large diffs are not rendered by default.

Loading

0 comments on commit ea6318f

Please sign in to comment.