improve mocks #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Generated by @zondax/cli | |
# | |
name: Checks | |
on: | |
push: | |
branches: [ main, dev ] | |
pull_request: | |
branches: [ main, dev ] | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.21' | |
- name: Build | |
run: | | |
make build | |
- name: ModTidy check | |
run: make check-modtidy | |
- name: Lint check | |
run: | | |
export PATH=$PATH:$(go env GOPATH)/bin | |
make install_lint | |
make lint | |
- name: Run tests | |
run: | | |
make test |