mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 14:00:00 -04:00
ci: remove update-lockfile shell script
This commit is contained in:
parent
cde679e435
commit
9c0a99819c
15 changed files with 84 additions and 103 deletions
42
.github/workflows/test-queries.yml
vendored
42
.github/workflows/test-queries.yml
vendored
|
|
@ -1,12 +1,12 @@
|
|||
name: Test queries
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
# push:
|
||||
# branches:
|
||||
# - "main"
|
||||
pull_request:
|
||||
branches:
|
||||
- "master"
|
||||
- "main"
|
||||
|
||||
# Cancel any in-progress CI runs for a PR if it is updated
|
||||
concurrency:
|
||||
|
|
@ -24,29 +24,29 @@ jobs:
|
|||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-14]
|
||||
cc: [gcc, clang]
|
||||
nvim_tag: [v0.10.4]
|
||||
nvim_tag: [nightly]
|
||||
exclude:
|
||||
- os: ubuntu-latest
|
||||
cc: clang
|
||||
nvim_tag: v0.10.4
|
||||
nvim_tag: nightly
|
||||
|
||||
- os: macos-14
|
||||
cc: gcc
|
||||
nvim_tag: v0.10.4
|
||||
|
||||
- os: windows-latest
|
||||
cc: clang
|
||||
nvim_tag: v0.10.4
|
||||
|
||||
include:
|
||||
- os: windows-latest
|
||||
cc: cl
|
||||
nvim_tag: nightly
|
||||
|
||||
- os: ubuntu-latest
|
||||
- os: windows-latest
|
||||
cc: gcc
|
||||
nvim_tag: nightly
|
||||
|
||||
# include:
|
||||
# - os: windows-latest
|
||||
# cc: cl
|
||||
# nvim_tag: nightly
|
||||
|
||||
# - os: ubuntu-latest
|
||||
# cc: gcc
|
||||
# nvim_tag: nightly
|
||||
|
||||
name: Parser compilation
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
|
|
@ -69,8 +69,8 @@ jobs:
|
|||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
./parser/
|
||||
~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/
|
||||
~/.local/share/nvim/site/parser/
|
||||
~/AppData/Local/nvim-data/site/parser/
|
||||
key: parsers-${{ join(matrix.*, '-') }}-${{ hashFiles(
|
||||
'./lockfile.json',
|
||||
'./lua/nvim-treesitter/install.lua',
|
||||
|
|
@ -78,11 +78,7 @@ jobs:
|
|||
'./lua/nvim-treesitter/shell_command_selectors.lua') }}
|
||||
|
||||
- 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: runner.os == 'Windows'
|
||||
run: cp -r ~/AppData/Local/nvim/pack/nvim-treesitter/start/nvim-treesitter/parser/* parser
|
||||
run: $NVIM -l ./scripts/install-parsers.lua
|
||||
|
||||
- name: Check query files
|
||||
run: $NVIM -l ./scripts/check-queries.lua
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue