Skip to content

Update tree-sitter requirement from 0.20 to 0.21 #54

Update tree-sitter requirement from 0.20 to 0.21

Update tree-sitter requirement from 0.20 to 0.21 #54

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
env:
# The NAME makes it easier to copy/paste snippets from other CI configs
NAME: tree-sitter-edit
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Format
run: cargo fmt && git diff --exit-code
- name: Deps
run: |
rustup update
rustup component add clippy
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84
- name: Lint
run: cargo clippy --profile=ci -- --deny warnings
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make doc
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84
- run: env RUSTFLAGS="@$PWD/rustc-flags" cargo test --profile=ci --no-run
- run: env RUSTFLAGS="@$PWD/rustc-flags" cargo test --profile=ci