mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
ci: use builtin jq instead of downloading it
This commit is contained in:
parent
770c66d43f
commit
e8b765bee1
1 changed files with 1 additions and 4 deletions
5
.github/workflows/update-lockfile.yml
vendored
5
.github/workflows/update-lockfile.yml
vendored
|
|
@ -21,9 +21,6 @@ jobs:
|
|||
env:
|
||||
NVIM_TAG: stable
|
||||
run: |
|
||||
wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
|
||||
mv ./jq-linux64 /tmp/jq
|
||||
chmod +x /tmp/jq
|
||||
wget https://github.com/josephburnett/jd/releases/download/v1.6.1/jd-amd64-linux
|
||||
mv ./jd-amd64-linux /tmp/jd
|
||||
chmod +x /tmp/jd
|
||||
|
|
@ -41,7 +38,7 @@ jobs:
|
|||
./nvim.appimage --headless -c "luafile ./scripts/write-lockfile.lua" -c "q"
|
||||
# Pretty print
|
||||
cp lockfile.json /tmp/lockfile.json
|
||||
cat /tmp/lockfile.json | /tmp/jq --sort-keys > lockfile.json
|
||||
cat /tmp/lockfile.json | jq --sort-keys > lockfile.json
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue