upgrade runners + deps #104
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.21 | |
options: --tty | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Install dependencies | |
run: | | |
apt-get update | |
apt-get install -y git build-essential wget curl | |
apt-get install -y gettext-base | |
- name: Build | |
run: | | |
git config --global --add safe.directory "*" | |
make build | |
- name: ModTidy check | |
run: make mod-tidy-check | |
- name: Lint check | |
run: | | |
make install-lint | |
make lint |