-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (34 loc) · 870 Bytes
/
gopy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Go setup
uses: actions/setup-go@v2
with:
go-version: 1.14
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Check Go Build
run: |
sudo apt-get update -qq && \
sudo apt-get install -y -qq libzmq3-dev&& \
go get -u golang.org/x/lint/golint
golint ./...
make build
- name: Check Python Code
run: |
sudo apt-get install -y -qq python3 python3-dev virtualenv
virtualenv --python=python3 venv
source ./venv/bin/activate
pip install flake8
cd actions && flake8 .
#- name: Test
# run: go test -v .