diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000..d0c828e --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,22 @@ +# This is a basic workflow that is manually triggered + +name: CLANG_CHECK + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + lint-clang: + name: clang-format + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Check code with clang-format + uses: jidicula/clang-format-action@v4.5.0 + with: + clang-format-version: "14"