dprint / check Goto Github PK
View Code? Open in Web Editor NEWGitHub action for running `dprint check`.
GitHub action for running `dprint check`.
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.
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.
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
As title. Need to break away from always needing to always do dprint check releases.
Our README instructs users to use dprint/check@v1
but the latest release is 0.1.0
.
The chance of breaking changes to this action is quite small, so I'd say we can just create the v1
release to fix this.
Alternatively, we can also fix the documentation.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.