2020-05-04 15:35:59 +02:00
|
|
|
name: Lint and Test
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Install Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
go-version: "1.14"
|
|
|
|
- name: Lint
|
2020-07-28 09:19:10 +02:00
|
|
|
uses: golangci/golangci-lint-action@v2
|
2020-06-30 10:15:16 +02:00
|
|
|
with:
|
2020-07-28 09:19:10 +02:00
|
|
|
version: latest
|
2020-05-04 15:35:59 +02:00
|
|
|
- name: Test
|
|
|
|
run: make test
|
|
|
|
- name: Build
|
|
|
|
run: make build
|