trustwallet-assets/.github/workflows/pr-ci.yml

30 lines
583 B
YAML
Raw Normal View History

name: Pull Request CI
on:
push:
branches:
- '*'
- '!master'
pull_request:
branches: [master]
workflow_dispatch:
jobs:
pull_request_ci:
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
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