Debian Codegraph @

.github/workflows/go.yml

raw
1 name: Go
2 on:
3 push:
4 pull_request:
5 schedule:
6 # Run every 12 hours, at the 15 minute mark. E.g.
7 # 2020-11-29 00:15:00 UTC, 2020-11-29 12:15:00 UTC, 2020-11-30 00:15:00 UTC
8 - cron: '15 */12 * * *'
9 jobs:
10
11 build:
12 name: Build and Unit Test
13 runs-on: ubuntu-latest
14 steps:
15
16 - name: Set up Go
17 uses: actions/setup-go@v2
18 with:
19 go-version: ^1.16
20
21 - name: Check out code
22 uses: actions/checkout@v2
23
24 - name: Build
25 run: go build -v ./...
26
27 - name: Test
28 run: go test -v ./...