Skip to content

Update GitHub Workflow Actions to Node16-compatible versions #1269

@bdferris-v2

Description

@bdferris-v2

Describe the bug

In recent GitHub Workflow action runs (e.g. https://github.com/MobilityData/gtfs-validator/actions/runs/3230591604), GitHub has started producing the following warning:

Node.js 12 actions are deprecated. For more information see:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Please update the following actions to use Node.js 16: actions/checkout, gradle/wrapper-validation-action, actions/checkout

Per the link, we need to update actions to Node16 compatible versions. Actions that are affected that I've seen listed so far:

  • actions/cache
  • actions/checkout
  • actions/setup-java
  • actions/upload-artifact
  • eskatos/gradle-command-action
  • gradle/wrapper-validation-action

(maybe it's all of them?)

I think we need to change the action versions in the our workflow config files to fix this.

Steps/Code to Reproduce

Run any GitHub Workflow.

Expected Results

No warnings.

Actual Results

Warnings.

Screenshots

No response

Files used

No response

Validator version

N/A

Operating system

N/A

Java version

No response

Additional notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working (crash, a rule has a problem)status: Needs triageApplied to all new issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions