-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (47 loc) · 1.18 KB
/
build.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
44
45
46
47
48
49
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: gopath/github.com/katydid/parser-go
- name: Checkout testsuite
uses: actions/checkout@v4
with:
repository: katydid/testsuite
path: gopath/github.com/katydid/testsuite
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: Fetch dependencies
run: |
cd gopath/github.com/katydid/parser-go
go mod download -x
- name: Install tools
run: |
cd gopath/github.com/katydid/parser-go
go install -x github.com/awalterschulze/checklicense
- name: env
run: env && go env && pwd
- name: tree
run: tree
- name: Build
run: |
cd gopath/github.com/katydid/parser-go
make build
- name: Test
run: |
cd gopath/github.com/katydid/parser-go
make test
- name: Checklicencse
run: |
cd gopath/github.com/katydid/parser-go
make checklicense
- name: Diff
run: |
cd gopath/github.com/katydid/parser-go
make diff