From f769211eefb64e92b752715b56b21fc84f8c445f Mon Sep 17 00:00:00 2001 From: Kingster Date: Fri, 26 Jan 2024 21:50:20 -0800 Subject: [PATCH] add solhint into github action --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6cecbc92..8a8f8f30 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -58,6 +58,12 @@ jobs: forge test -vvv --fork-url https://eth.drpc.org --fork-block-number 18613489 id: forge-test + - name: Run solhint + run: npx solhint contracts/**/*.sol + + - name: Run solhint + run: npx solhint contracts/*.sol + # - name: Gas Difference # run: # forge snapshot --gas-report --diff --desc