2020-08-06 19:17:38 +00:00
|
|
|
name: Check
|
2020-07-24 23:49:07 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
2020-08-08 20:46:34 +00:00
|
|
|
workflow_dispatch:
|
2020-07-24 23:49:07 +00:00
|
|
|
jobs:
|
2020-08-07 08:56:27 +00:00
|
|
|
check:
|
2020-07-24 23:49:07 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-12-19 21:39:53 +00:00
|
|
|
- name: Set up Go
|
2021-11-24 11:03:46 +00:00
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
2022-05-26 14:55:41 +00:00
|
|
|
go-version: 1.18
|
2021-11-24 11:03:46 +00:00
|
|
|
id: go
|
|
|
|
|
|
|
|
- name: Check out code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2021-12-11 21:30:03 +00:00
|
|
|
- name: Run check
|
2022-01-14 14:02:39 +00:00
|
|
|
run: make check
|
2021-12-19 21:39:53 +00:00
|
|
|
|
2021-12-27 09:39:11 +00:00
|
|
|
- name: Unit Test
|
|
|
|
run: make test
|
2021-12-19 21:39:53 +00:00
|
|
|
|
2021-12-27 09:39:11 +00:00
|
|
|
- name: Lint
|
|
|
|
run: make lint
|