edgeboxctl/.github/workflows/go.yml

29 lines
528 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:
2021-03-04 21:39:37 +01:00
- name: Set up Go
2020-11-08 23:47:10 +01:00
uses: actions/setup-go@v2
with:
go-version: ^1.15
2021-03-04 21:39:37 +01:00
- name: Check out code
2020-11-08 23:47:10 +01:00
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
run: make test-with-coverage
# - uses: codecov/codecov-action@v1
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# files: coverage.out