From cf8ca7ee4ed4d1fdde921a83644baadf6de8a849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dundar=20G=C3=B6c?= Date: Sat, 5 Feb 2022 17:11:28 +0100 Subject: ci: combine "Compile parsers" steps into a single step --- .github/workflows/check-query-files-and-compilation.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to '.github') diff --git a/.github/workflows/check-query-files-and-compilation.yml b/.github/workflows/check-query-files-and-compilation.yml index 94b36e3e..d2672972 100644 --- a/.github/workflows/check-query-files-and-compilation.yml +++ b/.github/workflows/check-query-files-and-compilation.yml @@ -74,15 +74,8 @@ jobs: ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/ key: ${{ matrix.os }}-${{ matrix.cc }}-${{ matrix.nvim_tag }}-parsers-v1-${{ hashFiles('./lockfile.json', './lua/nvim-treesitter/parsers.lua', './lua/nvim-treesitter/install.lua', './lua/nvim-treesitter/shell_selectors.lua') }} - - name: Compile parsers Unix like - if: matrix.os != 'windows-2022' - run: | - $NVIM --headless -c "TSInstallSync all" -c "q" - - - name: Compile parsers Windows - if: matrix.os == 'windows-2022' - run: | - $NVIM --headless -c "lua require'nvim-treesitter.install'.prefer_git=false" -c "TSInstallSync all" -c "q" + - name: Compile parsers + run: $NVIM --headless -c "lua require'nvim-treesitter.install'.prefer_git=false" -c "TSInstallSync all" -c "q" - name: Post compile Windows if: matrix.os == 'windows-2022' -- cgit v1.2.3