Staking and trading zaps with onboarding via signature #1606
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
name: lint | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
run-linter: | |
name: Lint contracts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: "yarn" | |
registry-url: "https://registry.npmjs.org" | |
scope: "@nayms" | |
- name: Install node dev dependencies | |
run: yarn | |
- name: Run prettier check | |
run: yarn run prettier:check | |
- name: Run lint check | |
run: yarn run solhint:check |