Skip to content

chore: added version test #1901

chore: added version test

chore: added version test #1901

Workflow file for this run

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