You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the current CI workflow in this repository could benefit from some updates. Specifically:
Node.js Installation in the Matrix Test Run:
Currently, the workflow uses nvm to install Node.js versions.
It might be worth considering switching to the official actions/setup-node action. This action can leverage cached Node.js versions from the runner, which could improve efficiency and speed up the CI pipeline.
Deprecation of Artifact Actions v3:
The actions/upload-artifact@v3 and actions/download-artifact@v3 actions are being deprecated as of November 30, 2024 (GitHub Deprecation Notice).
These actions should be updated to their latest versions to ensure continued functionality in the CI workflow.
The Coverage setup could also be optimized:
Currently, the workflow uses the coverallsapp/github-action@master which points to v1 of this action. This v1 action uses node16 as runtime which is deprecated.
Minimum token permissions for the GITHUB_TOKEN:
GitHub Actions workflows have a GITHUB_TOKEN with write access to multiple scopes.
It is a best practice to reduce the scopes to the minimum needed for each workflow / step.
The Open Source Security Foundation (OpenSSF) Scorecards also treats not setting token permissions as a high-risk issue. This change will help increase the Scorecard score for this repository.
The text was updated successfully, but these errors were encountered:
I noticed that the current CI workflow in this repository could benefit from some updates. Specifically:
Node.js Installation in the Matrix Test Run:
nvm
to install Node.js versions.actions/setup-node
action. This action can leverage cached Node.js versions from the runner, which could improve efficiency and speed up the CI pipeline.Deprecation of Artifact Actions v3:
actions/upload-artifact@v3
andactions/download-artifact@v3
actions are being deprecated as of November 30, 2024 (GitHub Deprecation Notice).The Coverage setup could also be optimized:
coverallsapp/github-action@master
which points to v1 of this action. This v1 action usesnode16
as runtime which is deprecated.Minimum token permissions for the GITHUB_TOKEN:
The text was updated successfully, but these errors were encountered: