tarpaulin icon indicating copy to clipboard operation
tarpaulin copied to clipboard

Node12 has been deprecated

Open FreeMasen opened this issue 2 years ago • 3 comments
trafficstars

Do the checklist before filing an issue:

  • [x] Is this related to the actions-rs Actions? 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]

FreeMasen avatar Nov 24 '22 18:11 FreeMasen

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 avatar Dec 25 '22 22:12 max-sixty

@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.

kevinbarabash avatar Dec 27 '22 18:12 kevinbarabash

I switched to using the fork by @FreeMasen: https://github.com/actions-rs/tarpaulin/pull/22

Works great.

ErikBjare avatar May 15 '23 07:05 ErikBjare