Sage-Bionetworks / synapseAnnotations

Sage Bionetworks derived standards for annotating content in Synapse.
MIT License
12 stars 21 forks source link

update GH actions to avoid deprecated jobs #957

Open avanlinden opened 1 year ago

avanlinden commented 1 year ago

Several components of our actions need to be updated. Paraphrasing from the log warnings:

  1. Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/cache@v1, trilom/file-changes-action@v1.2.4. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
  2. The save-state command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  3. The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

The check-schemas workflow needs item 1; the register-schemas-dry-run and register-and-update workflows need all three items updated. The register-and-update job should also have the macOS 10.15 environment (deprecated) switched to macos 11 or 12.