actions-rs / tarpaulin

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

Node12 has been deprecated #21

Open FreeMasen opened 1 year ago

FreeMasen commented 1 year ago

Do the checklist before filing an issue:

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/tarpaulin@v0.1

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/tarpaulin@v0.1
max-sixty commented 1 year ago

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

kevinbarabash commented 1 year ago

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

ErikBjare commented 1 year ago

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

Works great.