]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
CI: Use ccache-action repo maintained by its original author (#1943)
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 11 Nov 2024 16:17:09 +0000 (16:17 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Mon, 11 Nov 2024 17:23:21 +0000 (17:23 +0000)
    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

.github/workflows/quick.yaml
.github/workflows/slow.yaml

index 6a9766ad96d8cb7f977319d4957e8b4ae207e434..affa40466bbec8a58d99e3958fae4171ab09778a 100644 (file)
@@ -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 }}
index 2594c6abd7d6fad3cb5bb5c51f0ca5b96d60979a..6604bb9ec0bc1f112030a69d1c7bc6e219b7b213 100644 (file)
@@ -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 }}