tarpaulin
tarpaulin copied to clipboard
Node12 has been deprecated
Do the checklist before filing an issue:
- [x] Is this related to the
actions-rsActions? If you think it's a problem related to Github Actions in general, use GitHub Community forum instead: https://github.community - [x] You've read the Contributing section about bugs reporting: https://github.com/actions-rs/.github/blob/master/CONTRIBUTING.md#reporting-bugs
- [ ] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
Description
Github Actions have deprecated node12, all actions are required to update which version of node they depend on to 16
Workflow code
- name: rust-tarpaulin
uses: actions-rs/[email protected]
Action output
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions-rs/[email protected]
We're now getting an error on this action Error: Cannot read property 'find' of undefined; e.g. https://github.com/PRQL/prql/actions/runs/3776319618/jobs/6421524211#step:4:10 — possibly related
@max-sixty I ran into the same issue and ended up replacing tarpaulin with grcov in https://github.com/crochet-lang/crochet/pull/395. You may want to explore that as an option as well.
I switched to using the fork by @FreeMasen: https://github.com/actions-rs/tarpaulin/pull/22
Works great.