actions-rs / tarpaulin

📈 GitHub Action for code coverage reporting with tarpaulin
MIT License
89 stars 16 forks source link

Warning about deprecated `add-path` command when using the action #11

Closed jonasbb closed 3 years ago

jonasbb commented 3 years ago

Do the checklist before filing an issue:

Description

The following warning is printed when using this action.

The `add-path` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Source 1 | Source 2

Action output

The `add-path` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

Expected behavior

No warning about the usage of deprecated utility should be printed.

Additional context

The Github Changelog explains the reason for this deprecation: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

jonasbb commented 3 years ago

@svartalf There are only 7 days left to fix this issue before this actions breaks and two (#12 / #14) existing pull requests to fix this problem. It would be great if you could take a look.

https://github.blog/changelog/2020-11-09-github-actions-removing-set-env-and-add-path-commands-on-november-16

jonasbb commented 3 years ago

Thanks for merging the PR

svartalf commented 3 years ago

As a follow up, it was published as a new actions-rs/tarpaulin@v0.1 and can be used already. Thanks for PR!