Created
January 17, 2023 20:19
-
-
Save wmnnd/791b1880e0122039d9c8f5a9089f8958 to your computer and use it in GitHub Desktop.
Use dprint check in Alpine-based CI pipeline
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DPRINT_INSTALL="$HOME/.dprint" | |
mkdir -p "$DPRINT_INSTALL/bin" | |
curl -fsSL https://github.com/dprint/dprint/releases/download/0.34.1/dprint-x86_64-unknown-linux-musl.zip -o "$DPRINT_INSTALL/bin/dprint.zip" | |
unzip "$DPRINT_INSTALL/bin/dprint.zip" -d "$DPRINT_INSTALL/bin/" | |
chmod +x "$DPRINT_INSTALL/bin/dprint" | |
export PATH="$PATH:$DPRINT_INSTALL/bin" | |
dprint check |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment