Skip to content

T

T #1587

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: Setup Node v18
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Node.js dependencies
run: pnpm install
- name: Run linters
run: pnpm run solhint