lbcutil/.github/workflows/go.yml
2021-09-14 13:27:53 -07:00

29 lines
585 B
YAML

name: Build and Test
on: [push, pull_request]
jobs:
build:
name: Go CI
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.16]
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Check out source
uses: actions/checkout@v2
- name: Build
run: go build ./...
- name: Test
run: |
sh ./goclean.sh
- name: Send lbcutil coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov