-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'ledger/main' into update/dependencies
- Loading branch information
Showing
6 changed files
with
56 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Checklist | ||
<!-- Put an `x` in each box when you have completed the items. --> | ||
- [ ] App update process has been followed <!-- See comment below --> | ||
- [ ] Target branch is `develop` <!-- unless you have a very good reason --> | ||
- [ ] Application version has been bumped <!-- required if your changes are to be deployed --> | ||
|
||
<!-- Make sure you followed the process described in https://developers.ledger.com/docs/embedded-app/maintenance/ before opening your Pull Request. | ||
Don't hesitate to contact us directly on Discord if you have any questions ! https://developers.ledger.com/discord --> |
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,43 @@ | ||
name: Lint and format 💅 | ||
|
||
on: | ||
workflow_dispatch: | ||
# push: | ||
# pull_request: | ||
# branches: | ||
# - main | ||
# - develop | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
container: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder-legacy:latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Add missing deps | ||
run: | | ||
DEBIAN_FRONTEND=noninteractive | ||
apt-get update | ||
apt-get install -y bear sudo | ||
- name: Generate compilation database | ||
run: bear -- make -j BOLOS_SDK="$NANOSP_SDK" | ||
- name: Lint and format 💅 | ||
uses: cpp-linter/cpp-linter-action@v2 | ||
id: linter | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
file-annotations: true | ||
files-changed-only: false | ||
ignore: "app/build|cmake|deps|fuzz|tests" | ||
step-summary: true | ||
style: file # uses .clang-format | ||
thread-comments: true | ||
tidy-checks: "" # use only .clang-tidy checks | ||
- name: Fail if errors | ||
if: steps.linter.outputs.checks-failed > 0 | ||
run: | | ||
echo "Linter or formatter failed!" | ||
exit 1 |
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
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