Skip to content

T

T #1529

Workflow file for this run

name: Lint
on:
push:
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Check out Git repository
uses: actions/checkout@v3
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- uses: pnpm/[email protected]
with:
version: latest
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16.16.0
cache: 'pnpm'
- name: Install Node.js dependencies
run: pnpm install
- name: Run linters
run: pnpm run solhint