trustwallet-assets/.github/workflows/check.yml

26 lines
505 B
YAML
Raw Permalink Normal View History

name: Check
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- 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
run: go run ./cmd/main.go --config=./.github/assets.config.yaml --script=checker
2021-12-27 09:39:11 +00:00
- name: Unit Test
run: make test
2021-12-27 09:39:11 +00:00
- name: Lint
run: make lint