-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to check apps building (#27)
* Fix workflow * test * test * maybe? * Keep checked out apps commit * sanity check for build failure * Revert "sanity check for build failure" This reverts commit 0ef848f. * Check linting too * sanity check linting * fix * Revert "sanity check linting" This reverts commit 11452eb.
- Loading branch information
Showing
2 changed files
with
43 additions
and
109 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: "Lint" | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
env: | ||
SET_GH_OUTPUT: 1 | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Checkout firmware" | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: Next-Flip/Momentum-Firmware | ||
fetch-depth: 1 | ||
ref: dev | ||
submodules: recursive | ||
|
||
- name: "Checkout apps" | ||
uses: actions/checkout@v4 | ||
with: | ||
path: applications/external | ||
fetch-depth: 1 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- name: "Check formatting" | ||
run: | | ||
git add applications/external | ||
./fbt lint_all |