diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 408cacf5..f6682484 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -130,13 +130,18 @@ jobs: shell: pwsh run: | pip install geopandas ` - GitPython + GitPython ` + conan + + - name: Cache Conan Packages + uses: actions/cache@v4 + with: + path: ~/.conan2 + key: build-${{ matrix.conan_profile }}-${{ hashFiles('./source/conanfile.py', './source/tools/conan/profiles/*') }} - name: Install Conan Packages shell: pwsh run: | - pip install conan - conan profile detect -e conan config install ` ./source/tools/conan/profiles/${{ matrix.conan_profile }} ` -tf profiles diff --git a/.github/workflows/clang-tidy-review.yml b/.github/workflows/clang-tidy-review.yml index dcc99a46..f8c4495e 100644 --- a/.github/workflows/clang-tidy-review.yml +++ b/.github/workflows/clang-tidy-review.yml @@ -68,14 +68,19 @@ jobs: shell: pwsh run: | pip install geopandas ` - GitPython + GitPython ` + conan pip install --break-system-packages clang-tidy-review/post/clang_tidy_review + - name: Cache Conan Packages + uses: actions/cache@v4 + with: + path: ~/.conan2 + key: build-${{ matrix.conan_profile }}-${{ hashFiles('./source/conanfile.py', './source/tools/conan/profiles/*') }} + - name: Install Conan Packages shell: pwsh run: | - pip install conan - conan profile detect -e conan config install ` ./source/tools/conan/profiles/${{ matrix.conan_profile }} ` -tf profiles