Giter Site home page Giter Site logo

cargo-udeps-action's People

Contributors

aig787 avatar ithinuel avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cargo-udeps-action's Issues

Error: Cannot read property 'find' of undefined

Lately, this action often fails with this error message:

Run aig787/cargo-udeps-action@v1
Error: Cannot read property 'find' of undefined

(Example: https://github.com/rp-rs/rp-hal/actions/runs/3752232336/jobs/6375163646 )

I guess it happens in this line:

const asset = releaseInfo["assets"].find(asset => {

That would mean that fetching the releaseInfo somehow failed or returned some json not containing the property assets.

While there may not be much this action could do about it, at least the error message could be improved.

Add option for specifying the toolchain

In my workflow I install both stable and nightly, but the default is set to stable. Currently there's no way to make the action run with the nightly toolchain, unless I hack around the toolchain installation, and:

  1. Install nightly with override = true
  2. Run cargo-udeps
  3. Install stable with override = true, overriding the previous override ;)

Ideally instead of moving my actions around the place, I'd like to be able to run cargo-udeps action that by default would pick the nightly toolchain.

node12 and node16 deprecation warning via Actions

Anytime someone currently runs the action, they're presented with the following:

The following actions uses node12 which is deprecated and will be forced to run on node16: aig787/cargo-udeps-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

#3 looks to fix this warning message. The action is already being forced to run on node16, but this PR gets rid of the annoying message

Update: node12 and node16 are both now deprecated:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.