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

setup-dapr GitHub action recommended by docs is out of date and seemingly not maintained #4122

Open
DamianEdwards opened this issue Apr 30, 2024 · 1 comment
Assignees
Labels
content/incorrect-information Content in the docs is incorrect

Comments

@DamianEdwards
Copy link

Describe the issue
The How to: Use the Dapr CLI in a GitHub Actions workflow documentation page recommends using the dapr/setup-dapr action to install the Dapr CLI in the context of a GitHub workflow, but dapr/setup-dapr is so out of date that it results in workflow warnings being produced, related to the minimum supported version of Node.js, and use of the set-output command:

Build & Test Samples (ubuntu-latest, sdk-baseline)Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: dapr/setup-dapr@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build & Test Samples (ubuntu-latest, sdk-baseline)The following actions uses node12 which is deprecated and will be forced to run on node16: dapr/setup-dapr@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build & Test Samples (ubuntu-latest, sdk-baseline)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/

This was reported on the repo way back in December 2022 but has not been acknowledged or acted upon, suggesting the workflow action is not maintained.

URL of the docs
How to: Use the Dapr CLI in a GitHub Actions workflow

Expected content
The page should describe how to use the Dapr CLI in a GitHub workflow via a mechanism that is supported, or at the least, doesn't result in workflow warnings.

Screenshots
image

Additional context
dapr/setup-dapr#106

/Cc @msfussell @paulyuk

@DamianEdwards DamianEdwards added the content/incorrect-information Content in the docs is incorrect label Apr 30, 2024
@paulyuk paulyuk self-assigned this Apr 30, 2024
@FlorentATo
Copy link

FlorentATo commented May 14, 2024

I've opened a separate issue to update dapr/setup-dapr to Node 20: dapr/setup-dapr#141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content/incorrect-information Content in the docs is incorrect
Projects
None yet
Development

No branches or pull requests

3 participants