diff options
author | dundargoc <gocdundar@gmail.com> | 2023-11-24 14:11:26 +0100 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2023-12-05 09:43:06 +0000 |
commit | 32c8f951bb117bcff39460c3b4dd4f05112af6b3 (patch) | |
tree | c4af6ee4b9d52218241e1ae8d82cd3624fa99fc4 | |
parent | c9828200ac99c0f0769c587ddc060045ab3a9ad5 (diff) | |
download | rneovim-32c8f951bb117bcff39460c3b4dd4f05112af6b3.tar.gz rneovim-32c8f951bb117bcff39460c3b4dd4f05112af6b3.tar.bz2 rneovim-32c8f951bb117bcff39460c3b4dd4f05112af6b3.zip |
ci: use the latest stylua version
Using `jq` is not needed as github provides a "latest" shortcut to do
what download the latest release.
-rw-r--r-- | .github/workflows/test.yml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67d33fc1f6..82fc31e874 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,8 +39,7 @@ jobs: - name: Install stylua run: | - URL=$(curl -L https://api.github.com/repos/JohnnyMorganz/StyLua/releases/latest | jq -r '.assets[] | select(.name == "stylua-linux-x86_64.zip") | .browser_download_url') - wget --directory-prefix="$BIN_DIR" "$URL" + wget --directory-prefix="$BIN_DIR" https://github.com/JohnnyMorganz/StyLua/releases/latest/download/stylua-linux-x86_64.zip (cd "$BIN_DIR"; unzip stylua*.zip) - name: Build third-party deps |