From 9d40fceecec0a736fab34fa7b06898f8b4d4d73e Mon Sep 17 00:00:00 2001 From: Tropical <42101043+tropicaaal@users.noreply.github.com> Date: Sun, 29 Mar 2026 20:51:08 -0500 Subject: [PATCH] cache clang-format installation --- .github/workflows/clang-format.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index 297144427..84820ad88 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -29,12 +29,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v6 with: - fetch-depth: 0 + fetch-depth: 2 - name: Install clang-format - run: | - sudo apt-get update - sudo apt-get install -y clang-format + uses: daaku/gh-action-apt-install@v4 + with: + packages: clang-format - name: Check changed files env: