mirror of
https://github.com/Instadapp/trustwallet-assets.git
synced 2024-07-29 22:37:31 +00:00
26 lines
505 B
YAML
26 lines
505 B
YAML
name: Check
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
workflow_dispatch:
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
id: go
|
|
|
|
- name: Check out code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Run check
|
|
run: go run ./cmd/main.go --config=./.github/assets.config.yaml --script=checker
|
|
|
|
- name: Unit Test
|
|
run: make test
|
|
|
|
- name: Lint
|
|
run: make lint |