Skip to content
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

[Workflow] Update used GitHub actions #1541

Open
ridoo opened this issue Aug 23, 2023 · 1 comment
Open

[Workflow] Update used GitHub actions #1541

ridoo opened this issue Aug 23, 2023 · 1 comment

Comments

@ridoo
Copy link

ridoo commented Aug 23, 2023

Describe the bug

There are versions of some actions which still use node v12 which is not supported by Github Actions anymore . They will run on node v16 instead.

Updating the actions would resolve the issue. If there are any reasons why older actions have to be used we could set ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true as stated in GitHub's announcement.

Expected Behavior

Workflow runs without warning.

Steps to Reproduce the Problem

  1. Run a GitHub Actions auto build workflow

  2. Open the Run Details like here: https://github.com/GeoNode/geonode-mapstore-client/actions/runs/5900129973

  3. See the Warning annotation stating:

    The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Specifications

  • GeoNode client version: NA
  • Browser: NA
  • Installation type (vanilla, geonode-project): NA
  • Additional details: GitHub Actions workflow
@ridoo
Copy link
Author

ridoo commented Aug 23, 2023

Seems I misread the annotation (and too quickly posted this here). The annotation states to update the actions instead of the node action itself, so I will give this issue a new title, and rephrase the bug description

@ridoo ridoo changed the title [GitHub Actions] Update node version [GitHub Actions] Update actions Aug 23, 2023
@ridoo ridoo changed the title [GitHub Actions] Update actions [Workflow] Update used GitHub actions Aug 23, 2023
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

No branches or pull requests

1 participant