From 6eef2fc1576bb66cdf0c7edad7c901ae1b7dc544 Mon Sep 17 00:00:00 2001 From: Francois Beutin Date: Thu, 12 Sep 2024 14:51:13 +0200 Subject: [PATCH] Use reusable workflow for lint --- .github/workflows/lint-workflow.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/lint-workflow.yml b/.github/workflows/lint-workflow.yml index 71e57a11..df390fb2 100644 --- a/.github/workflows/lint-workflow.yml +++ b/.github/workflows/lint-workflow.yml @@ -11,16 +11,9 @@ on: jobs: job_lint: - name: Lint - runs-on: ubuntu-latest - - steps: - - name: Clone - uses: actions/checkout@v3 - - - name: Lint - uses: DoozyX/clang-format-lint-action@v0.15 - with: - source: "./" - extensions: "h,c" - clangFormatVersion: 12.0.1 + name: Check linting using the reusable workflow + uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_lint.yml@v1 + with: + source: './src' + extensions: 'h,c' + version: 12