actions-rs / tarpaulin

πŸ“ˆ GitHub Action for code coverage reporting with tarpaulin
MIT License
89 stars 16 forks source link

Update @actions/core to v1.2.6 to avoid add-path command deprecation #14

Closed rhysd closed 4 years ago

rhysd commented 4 years ago

Fixes #11

Hi, I'm trying this action and seeing the following warning:

γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2020-11-04 2 29 47

https://github.com/rhysd/git-brws/actions/runs/344046096

This error was caused because GitHub deprecated add-path command as follows:

https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

but this action still relies on the command since it depends on older @actions/core package (v1.2.4).

By updating the package to v1.2.6, we can avoid the deprecated command at calling core.addpath(). Here is a release note of @actions/core package:

https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md#126

This PR updates @actions/core dependency from v1.2.4 to v1.2.6.

sdttttt commented 4 years ago

I reaaaaaaaaaaaally need this! My CI this morning has failed because of actions-rs/tarpaulin.