ci: pin third-party actions to release commit SHAs

- hendrikmuhs/ccache-action: the v1 major tag also lagged behind the
  latest release (v1.2.20 instead of v1.2.23), so this is a bump too
- threeal/cmake-action: v2 == v2.1.0, pinned as-is
This commit is contained in:
Dennis Klein
2026-06-10 19:22:55 +02:00
committed by Dennis Klein
parent ed87268394
commit a34fa64dc1

View File

@@ -37,13 +37,13 @@ jobs:
env: ${{ matrix.env }} env: ${{ matrix.env }}
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1 uses: hendrikmuhs/ccache-action@d62db5f07c26379fc4b4e0916f098a92573c3b03 # v1.2.23
with: with:
key: ${{ github.job }}-${{ matrix.env }}-gcc${{ matrix.gcc }} key: ${{ github.job }}-${{ matrix.env }}-gcc${{ matrix.gcc }}
max-size: 500M max-size: 500M
- name: Configure and Build - name: Configure and Build
uses: threeal/cmake-action@v2 uses: threeal/cmake-action@725d1314ccf9ea922805d7e3f9d9bcbca892b406 # v2.1.0
with: with:
generator: Ninja generator: Ninja
options: | options: |
@@ -100,7 +100,7 @@ jobs:
env: ${{ matrix.sanitizer.env }} env: ${{ matrix.sanitizer.env }}
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1 uses: hendrikmuhs/ccache-action@d62db5f07c26379fc4b4e0916f098a92573c3b03 # v1.2.23
with: with:
key: ${{ github.job }}-${{ matrix.sanitizer.name }} key: ${{ github.job }}-${{ matrix.sanitizer.name }}
max-size: 500M max-size: 500M
@@ -119,7 +119,7 @@ jobs:
echo "test_library_path=$prefix/lib" >> $GITHUB_ENV echo "test_library_path=$prefix/lib" >> $GITHUB_ENV
- name: Configure and Build - name: Configure and Build
uses: threeal/cmake-action@v2 uses: threeal/cmake-action@725d1314ccf9ea922805d7e3f9d9bcbca892b406 # v2.1.0
with: with:
generator: Ninja generator: Ninja
cxx-flags: ${{ matrix.sanitizer.cxx-flags }} cxx-flags: ${{ matrix.sanitizer.cxx-flags }}
@@ -180,7 +180,7 @@ jobs:
gcc: '14' gcc: '14'
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1 uses: hendrikmuhs/ccache-action@d62db5f07c26379fc4b4e0916f098a92573c3b03 # v1.2.23
with: with:
key: ${{ github.job }} key: ${{ github.job }}
max-size: 500M max-size: 500M