This repository has been archived by the owner on Dec 13, 2024. It is now read-only.
Merge pull request #30 from storopoli/dependabot/github_actions/cargo… #125
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
name: clang-format | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
clang-format: | |
name: Check code formatting using clang-format | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check clang-format | |
uses: DoozyX/clang-format-lint-action@v0.18 | |
with: | |
source: '.' | |
extensions: 'c,h' | |
clangFormatVersion: 17 | |
style: Google |