diff options
| author | ObserverOfTime <chronobserver@disroot.org> | 2023-08-15 20:32:47 +0300 |
|---|---|---|
| committer | ObserverOfTime <chronobserver@disroot.org> | 2023-08-18 11:09:57 +0300 |
| commit | 1a4116aef1a8cde047b4cbe160ad18ebb00c134f (patch) | |
| tree | 2037e7afb368e414e08cd8801271ecc185e20f87 /.github/workflows/update-lockfile.yml | |
| parent | ci: add shebangs to scripts (diff) | |
| download | nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar.gz nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar.bz2 nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar.lz nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar.xz nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.tar.zst nvim-treesitter-1a4116aef1a8cde047b4cbe160ad18ebb00c134f.zip | |
ci: update workflows
Diffstat (limited to '.github/workflows/update-lockfile.yml')
| -rw-r--r-- | .github/workflows/update-lockfile.yml | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/.github/workflows/update-lockfile.yml b/.github/workflows/update-lockfile.yml index a1b910e3b..e43a3ea59 100644 --- a/.github/workflows/update-lockfile.yml +++ b/.github/workflows/update-lockfile.yml @@ -18,29 +18,25 @@ jobs: env: NVIM_TAG: stable run: | - wget https://github.com/josephburnett/jd/releases/download/v1.6.1/jd-amd64-linux - mv ./jd-amd64-linux /tmp/jd + wget https://github.com/josephburnett/jd/releases/download/v1.7.1/jd-amd64-linux + mv jd-amd64-linux /tmp/jd chmod +x /tmp/jd - sudo apt install libfuse2 - wget https://github.com/neovim/neovim/releases/download/${NVIM_TAG}/nvim.appimage - chmod u+x nvim.appimage - mkdir -p ~/.local/share/nvim/site/pack/nvim-treesitter/start - ln -s $(pwd) ~/.local/share/nvim/site/pack/nvim-treesitter/start + bash scripts/ci-install-${{ matrix.os }}.sh - name: Update parsers env: SKIP_LOCKFILE_UPDATE_FOR_LANGS: "" run: | cp lockfile.json /tmp/old_lockfile.json - ./nvim.appimage --headless -c "luafile ./scripts/write-lockfile.lua" -c "q" + nvim -l scripts/write-lockfile.lua # Pretty print cp lockfile.json /tmp/lockfile.json cat /tmp/lockfile.json | jq --sort-keys > lockfile.json - name: Commit changes run: | - git config user.name "GitHub" - git config user.email "noreply@github.com" + git config user.name 'GitHub' + git config user.email 'noreply@github.com' git add lockfile.json UPDATED_PARSERS=$(/tmp/jd -f merge /tmp/old_lockfile.json lockfile.json | jq -r 'keys | join(", ")') echo "UPDATED_PARSERS=$UPDATED_PARSERS" >> $GITHUB_ENV |
