Skip to content

Commit 732b554

Browse files
committed
Updates clang-format workflow.
1 parent d5db1e1 commit 732b554

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/clang-format.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,15 @@ on:
88
jobs:
99
clang-format:
1010
runs-on: ubuntu-latest
11-
strategy:
12-
matrix:
13-
python-version: ["3.12"]
1411
steps:
1512
- uses: actions/checkout@v4
16-
- name: Set up Python ${{ matrix.python-version }}
13+
- name: Set up Python 3.12
1714
uses: actions/setup-python@v2
1815
with:
19-
python-version: ${{ matrix.python-version }}
16+
python-version: "3.12"
2017
- name: Install dependencies
2118
run: |
22-
python -m pip install --upgrade pip
23-
pip install clang-format==20.1.8 ripgrep
19+
pip install clang-format==20.1.8 ripgrep==14.1.0
2420
- name: Running clang-format
2521
run: |
2622
rg . --type cpp --type c --files-with-matches \

0 commit comments

Comments
 (0)