aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/update-lockfile.yml
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-05-29 16:52:20 +0200
committerChristian Clason <c.clason@uni-graz.at>2025-05-12 18:43:40 +0200
commit9c0a99819c99d70d28334dc6ea1c3ac773e4fed1 (patch)
tree24d6d9ebdf2b9aa9a11c9ee271fa5e80d96fe6da /.github/workflows/update-lockfile.yml
parentrefactor: rewrite installation using jobs and async (diff)
downloadnvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.gz
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.bz2
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.lz
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.xz
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.tar.zst
nvim-treesitter-9c0a99819c99d70d28334dc6ea1c3ac773e4fed1.zip
ci: remove update-lockfile shell script
Diffstat (limited to '.github/workflows/update-lockfile.yml')
-rw-r--r--.github/workflows/update-lockfile.yml7
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/update-lockfile.yml b/.github/workflows/update-lockfile.yml
index 992e1c0d2..70d2c0c0a 100644
--- a/.github/workflows/update-lockfile.yml
+++ b/.github/workflows/update-lockfile.yml
@@ -12,7 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
- ref: master
+ ref: main
- uses: actions/create-github-app-token@v2
id: app-token
@@ -34,10 +34,7 @@ jobs:
SKIP_LOCKFILE_UPDATE_FOR_LANGS: "bp,devicetree,dhall,elm,enforce,git_config,nickel,rescript,rust,slint,sql,t32,templ,typespec,verilog,wit"
run: |
cp lockfile.json /tmp/old_lockfile.json
- nvim -l scripts/write-lockfile.lua
- # Pretty print
- cp lockfile.json /tmp/lockfile.json
- cat /tmp/lockfile.json | jq --sort-keys > lockfile.json
+ nvim -l ./scripts/update-lockfile.lua
UPDATED_PARSERS=$(/tmp/jd -f merge /tmp/old_lockfile.json lockfile.json | jq -r 'keys | join(", ")')
echo "UPDATED_PARSERS=$UPDATED_PARSERS" >> $GITHUB_ENV