From: Alex Rousskov Date: Mon, 11 Nov 2024 16:17:09 +0000 (+0000) Subject: CI: Use ccache-action repo maintained by its original author (#1943) X-Git-Tag: SQUID_7_0_1~40 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb1a70e95ca3da0463bfcfff35e987b25c7452d1;p=thirdparty%2Fsquid.git CI: Use ccache-action repo maintained by its original author (#1943) squid-cache/ccache-action@v1.2.14 is not allowed to be used in ... For recent commit 627cca6d, we cloned hendrikmuhs/ccache-action repository because GitHub Actions prohibited usage of that repository in Squid Project CI tests. Cloning worked around that restriction, but we did not realize that there are other solutions, and that cloning forces all other Squid repositories to either clone squid-cache/ccache-action or permit squid-cache/ccache-action execution by other means. To reduce the number of obscure repositories Squid Project and others have to deal with, it is better to adjust repository configuration to allow well-known hendrikmuhs/ccache-action in "Actions permissions" at https://github.com/.../squid/settings/actions --- diff --git a/.github/workflows/quick.yaml b/.github/workflows/quick.yaml index 6a9766ad96..affa40466b 100644 --- a/.github/workflows/quick.yaml +++ b/.github/workflows/quick.yaml @@ -133,7 +133,7 @@ jobs: uses: actions/checkout@v4 - name: Setup ccache - uses: squid-cache/ccache-action@v1.2.14 + uses: hendrikmuhs/ccache-action@v1.2.14 with: verbose: 2 # default 0 key: ${{ matrix.os }}-${{ matrix.compiler.CC }}-${{ matrix.layer.nick }} diff --git a/.github/workflows/slow.yaml b/.github/workflows/slow.yaml index 2594c6abd7..6604bb9ec0 100644 --- a/.github/workflows/slow.yaml +++ b/.github/workflows/slow.yaml @@ -57,7 +57,7 @@ jobs: uses: actions/checkout@v4 - name: Setup ccache - uses: squid-cache/ccache-action@v1.2.14 + uses: hendrikmuhs/ccache-action@v1.2.14 with: verbose: 2 # default 0 key: ${{ matrix.os }}-${{ matrix.compiler.CC }}-${{ matrix.layer.nick }}