Skip to content

Commit 8c4c005

Browse files
committed
upload github actions
1 parent 76fb6ae commit 8c4c005

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@main
14+
15+
- uses: actions/setup-go@v5
16+
with:
17+
go-version: '>=1.16'
18+
19+
- name: Install dependencies
20+
run: |
21+
go env
22+
go get -u github.com/go-bindata/go-bindata/go-bindata
23+
24+
- name: Install devfarm
25+
run: |
26+
go get github.com/DeNA/devfarm/cmd/devfarm
27+
devfarm version
28+
29+
- name: Build assets
30+
run: go generate ./...
31+
32+
- name: Test
33+
run: ./test/test-all.bash

0 commit comments

Comments
 (0)