Coder Social home page Coder Social logo

check's Issues

Move v1 tag to latest v1.x release, similar for v2 tag

Hi there!

This is slightly related to the discussion in #1: I believe the v1 tag should be moved to point to the same commit as the v1.6 tag. Similarly, l believe it's good practice to have a v2 tag that would point to the same commit as the v2.2 tag.

This would make it possible for people to track the v2 line of releases. This in turn will lead to less churn for the wider community. Currently, they can only track a single tag and they're all different:

The GitHub documentation describes this in a bit more detail.

Emit annotations

GitHub actions can emit annotations which show up as notices/warnings/errors on the pull request. See the GitHub documentation.

It would be cool if dprint/check could emit them. I just checked the implementation of the action here and I see that it delegates directly to dprint check. Please let me know if you would prefer me to recreate this issue in the dprint repository.

error resolving plugin - 404

Heya, this action has started failing with the following error

Error resolving plugin https://plugins.dprint.dev/rustfmt-0.6.1.exe-plugin@99b89a0599fd3a63e597e03436862157901f3facae2f0c2fbd0b9f656cdbc2a5: 

Error downloading https://plugins.dprint.dev/rustfmt-0.6.1.exe-plugin@99b89a0599fd3a63e597e03436862157901f3facae2f0c2fbd0b9f656cdbc2a5 - 404 Not Found 

Trying this link does indicate 404

https://plugins.dprint.dev/rustfmt-0.6.1.exe-plugin@99b89a0599fd3a63e597e03436862157901f3facae2f0c2fbd0b9f656cdbc2a5

Use an action `cache` to improve performance

https://github.com/actions/cache#cache-action can be used to store the dprint cache in this check action, that radically lessens the load for the action.

As a minimal example: this setup is working nicely for me so far. I have yet to see if the intended behavior (clear cache on update to *dprint.json) is working, but that seems like the most logical thing to signal an update.

The question is, should this action itself allow for use of a cache, optionally? IMHO yes, but perhaps just the example of using the action should include a cache.

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.