Skip to content

test(ci): fail forge fmt + storage layout from fork #135

test(ci): fail forge fmt + storage layout from fork

test(ci): fail forge fmt + storage layout from fork #135

Workflow file for this run

name: Solhint
on:
merge_group:
pull_request:
push:
branches:
- main
- release/**
tags:
- "*"
jobs:
lint:
strategy:
fail-fast: true
# No more than a few minutes
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18' # Latest LTS
- name: Clear npm cache
run: npm cache clean --force
- name: Install Solhint
run: npm install --save-dev solhint
- name: Run Solhint
run: |
npx solhint 'src/**/*.sol' -c ./src/.solhint.json