Giter Club home page Giter Club logo

actions's Issues

Deprecation warning for `set-output` command

I've just found that the deprecation warning is displayed in the GitHub Actions workflows for eslint-plugin-import.

I believe the following code in this repository has something to do with it, is that right?

} else if (arg.startsWith('::set-output name=cache-hit::')) {
core.info(`hijacking core.setOutput output: ${arg}`);
cacheHit = arg === '::set-output name=cache-hit::true';

} else if (arg.startsWith('::set-output name=cache-hit::')) {
core.info(`hijacking core.setOutput output: ${arg}`);
cacheHit = arg === '::set-output name=cache-hit::true';

Does the node workflow test the right object?

I noticed that node.yml workflow, for each matrix configuration, the UUT (project) is built with the selected node version, then the test suite is run on the same node runtime. ie:

targets=[v1, v2, v3]
for $target in targets
   build UUT for $target
   test UUT on $target
end

However, in real life, a dev publishes an NPM package built with one node runtime (say v40), and when users include that package in their projects, they build their projects on their own runtime (say v33), and release the product to end users who run it on a variety or runtimes (say v1-99), ie:

build UUT for v40

runtimes=[v1, v2, v3]
for $runtime in runtimes
   test UUT on $runtime
end

Is it valid to assert that if a projects builds on version X and passes the tests on version X for any value of X, then the released package, built on version Y will run correctly on any runtime version from v1-99 ?

Shouldn't the release candidate package be tested against all the supported runtimes?

Thanks

node: skip non-latest odd majors

When running with type majors, it doesn't seem likely that the user is interested in odd-numbered majors except current.

For example, running today with a major range of >=16, the results of deprecated v17 seems irrelevant.

@ljharb If you think this sounds reasonable I could take a stab it at

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.