Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Remove unused `[ci nocache]` CI option (#64852)

Nemanja Glumac195b18d690ef
diff --git a/.github/actions/prepare-backend/action.yml b/.github/actions/prepare-backend/action.yml
index f0dddb5c68e..a68504d13fd 100644
--- a/.github/actions/prepare-backend/action.yml
+++ b/.github/actions/prepare-backend/action.yml
@@ -32,13 +32,8 @@ runs:
shell: bash
run: |
curl -o ci-test-config.json https://raw.githubusercontent.com/metabase/metabase/refs/heads/master/ci-test-config.json
- - name: Check to see if dependencies should be cached
- if: ${{ contains(github.event.head_commit.message, '[ci nocache]') }}
- run: echo "Commit message includes [ci nocache]; dependencies will NOT be cached"
- shell: bash
- name: Get M2 cache
uses: actions/cache@v4
- if: ${{ !contains(github.event.head_commit.message, '[ci nocache]') }}
with:
path: |
~/.m2
diff --git a/.github/actions/prepare-cypress/action.yml b/.github/actions/prepare-cypress/action.yml
index 960c5e42ee9..8d58b19f64b 100644
--- a/.github/actions/prepare-cypress/action.yml
+++ b/.github/actions/prepare-cypress/action.yml
@@ -22,13 +22,8 @@ runs:
chrome-version: 1097615
id: setup-chrome
- - name: Check to see if dependencies should be cached
- if: ${{ contains(github.event.head_commit.message, '[ci nocache]') }}
- run: echo "Commit message includes [ci nocache]; dependencies will NOT be cached"
- shell: bash
- name: Get Cypress cache
uses: actions/cache@v4
- if: ${{ !contains(github.event.head_commit.message, '[ci nocache]') }}
with:
path: ~/.cache/Cypress
key: ${{ runner.os }}-Cypress-${{ hashFiles('**/yarn.lock') }}
diff --git a/.github/actions/prepare-frontend/action.yml b/.github/actions/prepare-frontend/action.yml
index 7cd609bbd28..153a7fe38db 100644
--- a/.github/actions/prepare-frontend/action.yml
+++ b/.github/actions/prepare-frontend/action.yml
@@ -12,15 +12,8 @@ runs:
node-version: ${{ inputs.node-version }} # this overrides, if present
node-version-file: ".nvmrc"
- - name: Check to see if dependencies should be cached
- if: ${{ contains(github.event.head_commit.message, '[ci nocache]') }}
- run: |
- echo "Commit message includes [ci nocache]; dependencies will NOT be cached"
- yarn cache clean
- shell: bash
- name: Get M2 cache
uses: actions/cache@v4
- if: ${{ !contains(github.event.head_commit.message, '[ci nocache]') }}
with:
path: ~/.m2
key: ${{ runner.os }}-cljs-${{ hashFiles('**/shadow-cljs.edn') }}
@@ -28,7 +21,6 @@ runs:
- name: Get node_modules cache
uses: actions/cache@v4
id: node-modules-cache
- if: ${{ !contains(github.event.head_commit.message, '[ci nocache]') }}
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock', '**/patches/*.patch') }}