Skip to content

Support legacy option optionP2SHSkip2FA (set to true by default) #21

Support legacy option optionP2SHSkip2FA (set to true by default)

Support legacy option optionP2SHSkip2FA (set to true by default) #21

name: Run coding style check through reusable workflow
# This workflow will run linting checks to ensure a level of uniformization among all Ledger applications.
#
# The presence of this workflow is mandatory as a minimal level of linting is required.
# You are however free to modify the content of the .clang-format file and thus the coding style of your application.
# We simply ask you to not diverge too much from the linting of the Boilerplate application.
on:
workflow_dispatch:
push:
branches:
- master
- main
- develop
pull_request:
jobs:
job_lint:
name: Lint check
runs-on: ubuntu-latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
steps:
- name: Clone
uses: actions/checkout@v4
- name: Ensure clang-format is customized
uses: andstor/file-existence-action@v3
with:
files: ".clang-format"
- name: Lint check for C app
uses: DoozyX/[email protected]
with:
source: "."
extensions: 'h,c'
clangFormatVersion: 11