A platform for community discussion. Free, open, simple.
Build(deps): Bump actions/cache from 3 to 4 (#25359)
dependabot[bot]d1be9310edb1
diff --git a/.github/workflows/licenses.yml b/.github/workflows/licenses.ymlindex 88dbadfb088..9d344d6e81a 100644--- a/.github/workflows/licenses.yml+++ b/.github/workflows/licenses.yml@@ -32,7 +32,7 @@ jobs:git config --global user.name "Discourse CI"- name: Bundler cache- uses: actions/cache@v3+ uses: actions/cache@v4with:path: vendor/bundlekey: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}@@ -55,7 +55,7 @@ jobs:run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT- name: Yarn cache- uses: actions/cache@v3+ uses: actions/cache@v4id: yarn-cachewith:path: ${{ steps.yarn-cache-dir.outputs.dir }}diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.ymlindex ea953a88bd4..2aa649c14cf 100644--- a/.github/workflows/linting.yml+++ b/.github/workflows/linting.yml@@ -35,7 +35,7 @@ jobs:git config --global user.name "Discourse CI"- name: Bundler cache- uses: actions/cache@v3+ uses: actions/cache@v4with:path: vendor/bundlekey: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}@@ -55,7 +55,7 @@ jobs:run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT- name: Yarn cache- uses: actions/cache@v3+ uses: actions/cache@v4id: yarn-cachewith:path: ${{ steps.yarn-cache-dir.outputs.dir }}diff --git a/.github/workflows/migration-tests.yml b/.github/workflows/migration-tests.ymlindex 2e8a0486aa3..177e72eaf3d 100644--- a/.github/workflows/migration-tests.yml+++ b/.github/workflows/migration-tests.yml@@ -60,7 +60,7 @@ jobs:sudo -u postgres psql -c "CREATE ROLE $PGUSER LOGIN SUPERUSER PASSWORD '$PGPASSWORD';"- name: Bundler cache- uses: actions/cache@v3+ uses: actions/cache@v4with:path: vendor/bundlekey: ${{ runner.os }}-${{ matrix.ruby }}-gem-${{ hashFiles('**/Gemfile.lock') }}@@ -80,7 +80,7 @@ jobs:run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT- name: Yarn cache- uses: actions/cache@v3+ uses: actions/cache@v4id: yarn-cachewith:path: ${{ steps.yarn-cache-dir.outputs.dir }}@@ -91,7 +91,7 @@ jobs:run: yarn install --frozen-lockfile- name: Fetch app state cache- uses: actions/cache@v3+ uses: actions/cache@v4id: app-cachewith:path: tmp/app-cachediff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlindex 2e590e5747c..e78569b6fc9 100644--- a/.github/workflows/tests.yml+++ b/.github/workflows/tests.yml@@ -84,7 +84,7 @@ jobs:sudo -u postgres psql -c "CREATE ROLE $PGUSER LOGIN SUPERUSER PASSWORD '$PGPASSWORD';"- name: Bundler cache- uses: actions/cache@v3+ uses: actions/cache@v4with:path: vendor/bundlekey: ${{ runner.os }}-${{ matrix.ruby }}-gem-${{ hashFiles('**/Gemfile.lock') }}-cachev2@@ -103,7 +103,7 @@ jobs:run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT- name: Yarn cache- uses: actions/cache@v3+ uses: actions/cache@v4id: yarn-cachewith:path: ${{ steps.yarn-cache-dir.outputs.dir }}@@ -121,7 +121,7 @@ jobs:run: bin/rake plugin:pull_compatible_all- name: Plugin gems cache- uses: actions/cache@v3+ uses: actions/cache@v4with:path: plugins/*/gemskey: ${{ runner.os }}-plugin-gems-${{matrix.ruby}}-${{ hashFiles('plugins/*/plugin.rb') }}@@ -137,7 +137,7 @@ jobs:echo "127.0.0.1 discoursetest.minio.local" | sudo tee -a /etc/hosts- name: Fetch app state cache- uses: actions/cache@v3+ uses: actions/cache@v4id: app-cachewith:path: tmp/app-cache@@ -178,7 +178,7 @@ jobs:run: rm -rf tmp/app-cache/uploads && cp -r public/uploads tmp/app-cache/uploads- name: Fetch turbo_rspec_runtime.log cache- uses: actions/cache@v3+ uses: actions/cache@v4id: test-runtime-cacheif: matrix.build_type == 'backend' || matrix.build_type == 'system'with:@@ -359,7 +359,7 @@ jobs:run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT- name: Yarn cache- uses: actions/cache@v3+ uses: actions/cache@v4id: yarn-cachewith:path: ${{ steps.yarn-cache-dir.outputs.dir }}