Skip to content

Upgrade @actions/cache to 4.0.4 and move @protobuf-ts/plugin to dev depdencies #1634

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 6, 2025

Conversation

Link-
Copy link
Member

@Link- Link- commented Aug 6, 2025

Description

This pull request makes minor updates to the project's dependencies in the package.json file, including upgrading an existing package and adding a new development dependency.

Pulls all the changes from: actions/toolkit#2111

Also updates the project's license compliance workflow and configuration, addresses encoding issues with certain npm packages, and updates or removes license records for some dependencies.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (add or update README or docs)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@Copilot Copilot AI review requested due to automatic review settings August 6, 2025 19:23
@Link- Link- requested a review from a team as a code owner August 6, 2025 19:23
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates project dependencies by upgrading @actions/cache to version 4.0.4 and adds @protobuf-ts/plugin as a new development dependency.

  • Upgrades @actions/cache from version 4.0.3 to 4.0.4
  • Adds @protobuf-ts/plugin version 2.9.4 to development dependencies

yacaovsnc
yacaovsnc previously approved these changes Aug 6, 2025
Comment on lines +13 to +40
validate-cached-dependency-records:
runs-on: ubuntu-latest
name: Check licenses
steps:

- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci --ignore-scripts

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.7'

- name: Install licensed tool
run: |
cd "$RUNNER_TEMP"
curl -Lfs -o licensed.tar.gz https://github.com/licensee/licensed/archive/refs/tags/v5.0.4.tar.gz
tar -xzf licensed.tar.gz
cd licensed-5.0.4
bundle install
- name: Check cached dependency records
run: |
cd ${{ github.workspace }}
BUNDLE_GEMFILE=$RUNNER_TEMP/licensed-5.0.4/Gemfile bundle exec $RUNNER_TEMP/licensed-5.0.4/exe/licensed status
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to improve this workflow because the version we were using was reporting false positives!

@Link- Link- self-assigned this Aug 6, 2025
@Link- Link- merged commit 358a730 into main Aug 6, 2025
16 checks passed
@Link- Link- deleted the Link-/optimise-deps branch August 6, 2025 20:25
@Link- Link- mentioned this pull request Aug 7, 2025
10 tasks
mergify bot added a commit to ArcadeData/arcadedb that referenced this pull request Aug 10, 2025
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.3 to 4.2.4.
Release notes

*Sourced from [actions/cache's releases](https://github.com/actions/cache/releases).*

> v4.2.4
> ------
>
> What's Changed
> --------------
>
> * Update README.md by [`@​nebuk89`](https://github.com/nebuk89) in [actions/cache#1620](https://redirect.github.com/actions/cache/pull/1620)
> * Upgrade `@actions/cache` to `4.0.5` and move `@protobuf-ts/plugin` to dev depdencies by [`@​Link`](https://github.com/Link)- in [actions/cache#1634](https://redirect.github.com/actions/cache/pull/1634)
> * Prepare release `4.2.4` by [`@​Link`](https://github.com/Link)- in [actions/cache#1636](https://redirect.github.com/actions/cache/pull/1636)
>
> New Contributors
> ----------------
>
> * [`@​nebuk89`](https://github.com/nebuk89) made their first contribution in [actions/cache#1620](https://redirect.github.com/actions/cache/pull/1620)
>
> **Full Changelog**: <actions/cache@v4...v4.2.4>


Changelog

*Sourced from [actions/cache's changelog](https://github.com/actions/cache/blob/main/RELEASES.md).*

> Releases
> ========
>
> ### 4.2.4
>
> * Bump `@actions/cache` to v4.0.5
>
> ### 4.2.3
>
> * Bump `@actions/cache` to v4.0.3 (obfuscates SAS token in debug logs for cache entries)
>
> ### 4.2.2
>
> * Bump `@actions/cache` to v4.0.2
>
> ### 4.2.1
>
> * Bump `@actions/cache` to v4.0.1
>
> ### 4.2.0
>
> TLDR; The cache backend service has been rewritten from the ground up for improved performance and reliability. [actions/cache](https://github.com/actions/cache) now integrates with the new cache service (v2) APIs.
>
> The new service will gradually roll out as of **February 1st, 2025**. The legacy service will also be sunset on the same date. Changes in these release are **fully backward compatible**.
>
> **We are deprecating some versions of this action**. We recommend upgrading to version `v4` or `v3` as soon as possible before **February 1st, 2025.** (Upgrade instructions below).
>
> If you are using pinned SHAs, please use the SHAs of versions `v4.2.0` or `v3.4.0`
>
> If you do not upgrade, all workflow runs using any of the deprecated [actions/cache](https://github.com/actions/cache) will fail.
>
> Upgrading to the recommended versions will not break your workflows.
>
> ### 4.1.2
>
> * Add GitHub Enterprise Cloud instances hostname filters to inform API endpoint choices - [#1474](https://redirect.github.com/actions/cache/pull/1474)
> * Security fix: Bump braces from 3.0.2 to 3.0.3 - [#1475](https://redirect.github.com/actions/cache/pull/1475)
>
> ### 4.1.1
>
> * Restore original behavior of `cache-hit` output - [#1467](https://redirect.github.com/actions/cache/pull/1467)
>
> ### 4.1.0
>
> * Ensure `cache-hit` output is set when a cache is missed - [#1404](https://redirect.github.com/actions/cache/pull/1404)
> * Deprecate `save-always` input - [#1452](https://redirect.github.com/actions/cache/pull/1452)
>
> ### 4.0.2
>
> * Fixed restore `fail-on-cache-miss` not working.

... (truncated)


Commits

* [`0400d5f`](actions/cache@0400d5f) Merge pull request [#1636](https://redirect.github.com/actions/cache/issues/1636) from actions/Link-/release-4.2.4
* [`374a27f`](actions/cache@374a27f) Prepare release 4.2.4
* [`358a730`](actions/cache@358a730) Merge pull request [#1634](https://redirect.github.com/actions/cache/issues/1634) from actions/Link-/optimise-deps
* [`2ee706e`](actions/cache@2ee706e) Fix with another approach
* [`94f7b5d`](actions/cache@94f7b5d) Fix bundle exec
* [`c36116c`](actions/cache@c36116c) Fix the workflow to use licensed from source
* [`320fe7d`](actions/cache@320fe7d) Update the licensed workflow to use the latest version
* [`d81cc47`](actions/cache@d81cc47) Add licensed output
* [`de24398`](actions/cache@de24398) Add licensed output
* [`e7b6a9c`](actions/cache@e7b6a9c) `@​protobuf-ts/plugin` to dev dependencies
* Additional commits viewable in [compare view](actions/cache@5a3ec84...0400d5f)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=actions/cache&package-manager=github\_actions&previous-version=4.2.3&new-version=4.2.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants