edgeboxctl/.github/workflows/go.yml

29 lines
428 B
YAML
Raw Normal View History

2020-11-08 23:47:10 +01:00
name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.15
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Build
2021-02-11 21:48:41 +01:00
run: make build
2020-11-08 23:47:10 +01:00
- name: Test
2021-02-11 21:48:41 +01:00
run: go test -v ./...