Skip to content

Update deprecated GH Actions #47

@pcaversaccio

Description

@pcaversaccio

I get the following CI warnigs in my snekmate CI runs: https://github.com/pcaversaccio/snekmate/actions/runs/25378612865

Image
[tests (ubuntu-latest, 3.14, x64, 24, --config test/echidna.yaml)](https://github.com/pcaversaccio/snekmate/actions/runs/25378612865/job/74420419654#step:49:2)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Can you please upgrade the GH actions actions/cache and actions/setup-python.

Furthermore, I face the following warning: "Cache not found for input keys: Linux-compiler-cache".

Run ApeWorX/github-action@v3
  with:
    python-version: 3.14
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.14.4/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.14.4/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.14.4/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.14.4/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.14.4/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.14.4/x64/lib
Run actions/cache@v4
Cache not found for input keys: Linux-compiler-cache
Run actions/cache@v4
  with:
    path: /home/runner/work/snekmate/snekmate/.build
    key: Linux-build-cache
    enableCrossOsArchive: false
    fail-on-cache-miss: false
    lookup-only: false
    save-always: false
  env:
    pythonLocation: /opt/hostedtoolcache/Python/3.14.4/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.14.4/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.14.4/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.14.4/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.14.4/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.14.4/x64/lib
Cache hit for: Linux-build-cache
Warning: Failed to restore: 
Cache not found for input keys: Linux-build-cache

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions