task_runner: tasks: environmental: optional secondary device #1257
Workflow file for this run
This file contains hidden or 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
name: clang-format | |
on: | |
pull_request: | |
paths: | |
- '.github/workflows/clang-format.yml' | |
- '**/*.c' | |
- '**/*.h' | |
permissions: | |
contents: read | |
jobs: | |
formatting-check: | |
name: Formatting check on repository | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Run clang-format style check. | |
uses: jidicula/clang-format-action@4726374d1aa3c6aecf132e5197e498979588ebc8 # v4.15.0 | |
with: | |
# Default version shipped with `ms-vscode.cpptools` | |
clang-format-version: '18' | |
exclude-regex: (lib/crypto/ascon)|(lib/crypto/XKCP) |