Skip to content

CI(deps): Update ruff to v0.5.3 (#4073) #4477

CI(deps): Update ruff to v0.5.3 (#4073)

CI(deps): Update ruff to v0.5.3 (#4073) #4477

---
name: ClangFormat Check
on:
push:
branches:
- main
- releasebranch_*
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
permissions: {}
jobs:
formatting-check:
name: Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- uses: DoozyX/clang-format-lint-action@11b773b1598aa4ae3b32f023701bca5201c3817d # v0.17
with:
source: "."
clangFormatVersion: 17
inplace: True
- name: Create and uploads code suggestions to apply
id: diff
uses: ./.github/actions/create-upload-suggestions
with:
tool-name: clang-format
# To keep repo's file structure in formatted changes artifact
extra-upload-changes: .clang-format