Revert "WIP disable caching in release workflows"

This reverts commit 72e5ae40b0.

Let's do this in a follow-up PR.
This commit is contained in:
Andrew Morgan
2026-05-05 20:27:13 +01:00
parent 6528bbc797
commit 647b5a79ac
4 changed files with 1 additions and 19 deletions
-9
View File
@@ -123,9 +123,6 @@ jobs:
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
# Disable caching in release workflows.
# As advised by https://docs.zizmor.sh/audits/#cache-poisoning.
package-manager-cache: ${{ github.event_name != 'release' && github.event_name != 'workflow_dispatch' }}
- name: Install Node dependencies
working-directory: ./frontend
@@ -196,9 +193,6 @@ jobs:
rustup default stable
- name: Setup sccache
# Disable caching in release workflows.
# As advised by https://docs.zizmor.sh/audits/#cache-poisoning.
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
- uses: ./.github/actions/build-frontend
@@ -243,9 +237,6 @@ jobs:
- uses: ./.github/actions/build-policies
- name: Setup sccache
# Disable caching in release workflows.
# As advised by https://docs.zizmor.sh/audits/#cache-poisoning.
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
- name: Run clippy
+1 -4
View File
@@ -114,10 +114,7 @@ jobs:
# See https://github.com/rust-lang/rust/issues/85658 for stability tracking issue.
run: rustup toolchain install stable --profile minimal --component llvm-tools-preview
- name: Setup sccache (not used on release runs)
# Disable caching in release workflows.
# As advised by https://docs.zizmor.sh/audits/#cache-poisoning.
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
- name: Setup sccache
uses: mozilla-actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
- name: Install grcov
-3
View File
@@ -72,9 +72,6 @@ jobs:
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
# Disable caching in release workflows.
# As advised by https://docs.zizmor.sh/audits/#cache-poisoning.
package-manager-cache: false
- name: Install Localazy CLI
run: npm install -g @localazy/cli
@@ -26,9 +26,6 @@ jobs:
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
# Disable caching in release workflows.
# As advised by https://docs.zizmor.sh/audits/#cache-poisoning.
package-manager-cache: false
- name: Install Localazy CLI
run: npm install -g @localazy/cli