fix(ci): remove debug #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |