format.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. name: FORMAT
  2. on: push
  3. jobs:
  4. prettier-ts:
  5. name: Check Prettier of TS and Other Files
  6. runs-on: ubuntu-latest
  7. steps:
  8. - uses: actions/checkout@v4
  9. - name: Setup
  10. uses: ./.github/actions/setup
  11. - name: Prettier
  12. run: npm run format:check
  13. list-ts:
  14. name: Check Eslint of TS and Other Files
  15. runs-on: ubuntu-latest
  16. steps:
  17. - uses: actions/checkout@v4
  18. - name: Setup
  19. uses: ./.github/actions/setup
  20. - name: Lint
  21. run: npm run lint:check
  22. prettier-sol:
  23. name: Check Prettier of Solidity Files
  24. runs-on: ubuntu-latest
  25. steps:
  26. - uses: actions/checkout@v4
  27. - name: Setup
  28. uses: ./.github/actions/setup
  29. - name: Prettier
  30. run: npm run sol:format:check
  31. solhint:
  32. name: Run Solhint
  33. runs-on: ubuntu-latest
  34. steps:
  35. - uses: actions/checkout@v4
  36. - name: Setup
  37. uses: ./.github/actions/setup
  38. - name: Solhint
  39. run: npm run solhint