lint.yml 641 B

1234567891011121314151617181920212223242526272829303132
  1. name: "Lint"
  2. on:
  3. push:
  4. pull_request:
  5. env:
  6. SET_GH_OUTPUT: 1
  7. jobs:
  8. lint:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - name: "Checkout firmware"
  12. uses: actions/checkout@v4
  13. with:
  14. repository: Next-Flip/Momentum-Firmware
  15. fetch-depth: 1
  16. ref: dev
  17. submodules: recursive
  18. - name: "Checkout apps"
  19. uses: actions/checkout@v4
  20. with:
  21. path: applications/external
  22. fetch-depth: 1
  23. ref: ${{ github.event.pull_request.head.sha }}
  24. - name: "Check formatting"
  25. run: |
  26. git add applications/external
  27. ./fbt lint_all