mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-25 12:04:15 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user