Add support for safe/finalized blocks and support latest subquery image #10
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, master, dev] | |
pull_request: | |
branches: [main, master, dev] | |
jobs: | |
checks: | |
runs-on: zondax-runners | |
container: | |
image: golang:1.22 | |
options: --tty | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Build | |
run: | | |
git config --global --add safe.directory "*" | |
make build | |
working-directory: ./evm-adapter-proxy | |
- name: ModTidy check | |
run: make mod-tidy-check | |
working-directory: ./evm-adapter-proxy | |
- name: Lint check | |
run: | | |
make install-lint | |
make lint | |
working-directory: ./evm-adapter-proxy | |
- name: Run tests | |
run: | | |
make test | |
working-directory: ./evm-adapter-proxy |