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:
|
|
|
|
go-version: 1.17
|
|
|
|
id: go
|
|
|
|
|
|
|
|
- name: Check out code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2021-12-11 21:30:03 +00:00
|
|
|
- name: Run check
|
2021-12-19 21:39:53 +00:00
|
|
|
run: go run ./cmd/main.go --config=./.github/assets.config.yaml --script=checker
|
|
|
|
|
|
|
|
# - name: Unit Test
|
|
|
|
# run: make test
|
|
|
|
|
|
|
|
# - name: Lint
|
|
|
|
# run: make lint
|