From c2f2db52a6f656d5760c77997b5a5e0c74cb70bc Mon Sep 17 00:00:00 2001 From: miyaliu627 <107294785+miyaliu627@users.noreply.github.com> Date: Fri, 22 Mar 2024 16:51:37 -0500 Subject: [PATCH] added install cache conan dep to linter-cicd workflow --- .github/workflows/linter-cicd.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/linter-cicd.yml b/.github/workflows/linter-cicd.yml index 536969e9..82d5f0e2 100644 --- a/.github/workflows/linter-cicd.yml +++ b/.github/workflows/linter-cicd.yml @@ -85,6 +85,16 @@ jobs: sudo apt update sudo apt install llvm-17 llvm-17-dev llvm-17-tools clang-17 clang-tidy-17 clang-tools-17 libclang-17-dev -y + - name: Install Cache Conan dependencies + id: cache-conan + uses: actions/cache@v3 + env: + cache-name: cache-conan-deps + with: + path: ~/.conan2 + key: ${{ runner.os }}-builder-${{ env.cache-name }}-${{ hashFiles('conanfile.py') }} + restore-keys: ${{ runner.os }}-builder-${{ env.cache-name }}- + - name: Install dependencies run: | pip3 install conan