This saves on some gas as publicKeys and signatures are already at th… #1897
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
name: Lint | |
on: | |
push: | |
paths: | |
- "contracts/**" | |
- ".github/**" | |
jobs: | |
run-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
persist-credentials: false | |
- name: reconfigure git to use HTTP authentication | |
run: > | |
git config --global url."https://github.com/".insteadOf | |
ssh://[email protected]/ | |
- name: install foundry | |
uses: onbjerg/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: install nodejs | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: cache node_modules | |
uses: actions/cache@v2 | |
with: | |
path: | | |
./node_modules | |
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} | |
- name: install node dependencies | |
run: yarn | |
- name: run lint checks | |
run: yarn lint:check |