Skip to content

Commit

Permalink
added install cache conan dep to linter-cicd workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
miyaliu627 committed Mar 22, 2024
1 parent 6982a1e commit c2f2db5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/linter-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2f2db5

Please sign in to comment.