Skip to content

Commit

Permalink
CI: Use ccache-action repo maintained by its original author (#1943)
Browse files Browse the repository at this point in the history
    squid-cache/[email protected] is not allowed to be used in ...

For recent commit 627cca6, 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
  • Loading branch information
rousskov authored and squid-anubis committed Nov 11, 2024
1 parent a2ddc0b commit cb1a70e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/quick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup ccache
uses: squid-cache/[email protected]
uses: hendrikmuhs/[email protected]
with:
verbose: 2 # default 0
key: ${{ matrix.os }}-${{ matrix.compiler.CC }}-${{ matrix.layer.nick }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/slow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup ccache
uses: squid-cache/[email protected]
uses: hendrikmuhs/[email protected]
with:
verbose: 2 # default 0
key: ${{ matrix.os }}-${{ matrix.compiler.CC }}-${{ matrix.layer.nick }}
Expand Down

0 comments on commit cb1a70e

Please sign in to comment.