Skip to content

Commit

Permalink
fix: fix clang format github workflow (#993)
Browse files Browse the repository at this point in the history
  • Loading branch information
cieslarmichal authored Nov 23, 2024
1 parent 9d578b8 commit 824cba8
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Cache clang-format dependencies
uses: actions/cache@v3
with:
path: /tmp/apt-cache
key: clang-format-${{ runner.os }}-${{ hashFiles('**/apt-packages.txt') }}
restore-keys: |
clang-format-${{ runner.os }}-
- name: Install clang-format
run: |
if [ ! -f /tmp/apt-cache/clang-format-18 ]; then
sudo apt-get update
sudo apt-get install -y clang-format-18
touch /tmp/apt-cache/clang-format-18
fi
- name: Run clang-format
run: |
Expand Down

0 comments on commit 824cba8

Please sign in to comment.