mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	ci: use the latest stylua version
Using `jq` is not needed as github provides a "latest" shortcut to do what download the latest release.
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 dundargoc
					dundargoc