fix: rust tests #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: nvim-treesitter queries | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: | | |
npm install yarn -g | |
npm install tree-sitter-cli -g | |
- name: Generate tree-sitter parser | |
run: tree-sitter generate | |
- name: pull queries from nvim-treesitter | |
working-directory: ./queries | |
run: | | |
wget "https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/master/queries/solidity/highlights.scm" | |
wget "https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/master/queries/solidity/folds.scm" | |
- run: yarn | |
- run: yarn test |