diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index eb5ea731..89e5d183 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -11,7 +11,7 @@ jobs: uses: actions/checkout@v2 - name: Install Clang Format - run: sudo apt-get install -y clang-format-10 + run: sudo apt-get update && sudo apt-get install -y clang-format - name: Run Clang Format run: find ./Components -regex '.*\.\(cpp\|hpp\|c\|h\)' -exec clang-format-10 -i {} \;