chore(contracts): upgrade Solhint to 6 #1917
Workflow file for this run
This file contains hidden or 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: Lint | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| - release/* | |
| push: | |
| branches: | |
| - main | |
| - dev | |
| - release/* | |
| permissions: {} # lock everything by default (least-privilege) | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Check out the repo | |
| uses: actions/checkout@v6 | |
| - name: Setup environment | |
| uses: ./.github/actions/setup-env | |
| - name: Check code linting | |
| run: pnpm -r run lint | |
| - name: Run Prettier | |
| run: pnpm run prettier:check | |
| - name: Add lint summary | |
| run: | | |
| echo "## Lint result" >> $GITHUB_STEP_SUMMARY | |
| echo "✅ Passed" >> $GITHUB_STEP_SUMMARY |