Skip to content

Commit

Permalink
Merge branch 'main' into display-list
Browse files Browse the repository at this point in the history
  • Loading branch information
morgante committed Jan 7, 2025
2 parents 4f46fcc + 4a4b212 commit 37efe63
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@ jobs:
submodules: recursive
- name: Install Protoc
run: sudo apt-get install -y protobuf-compiler
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1
- name: install Rust
uses: actions-rs/toolchain@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace --features test_ci --exclude grit-wasm-bindings -- -D warnings
# If you update this, also update build.mjs
toolchain: nightly-2023-11-16
override: true
- run: rustup component add clippy rustfmt
- name: lint
run: cargo clippy --features test_ci --exclude grit-wasm-bindings --workspace --locked -- -D warnings
- name: format
run: cargo fmt --all -- --check
2 changes: 1 addition & 1 deletion crates/language/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ macro_rules! use_marzano_delegate {

pub mod csharp;
pub mod css;
pub mod elixir;
pub mod foreign_language;
pub mod go;
pub mod grit_parser;
Expand All @@ -77,7 +78,6 @@ mod php_like;
pub mod php_only;
pub mod python;
pub mod ruby;
pub mod elixir;
pub mod rust;
pub mod solidity;
pub mod sourcemap;
Expand Down
2 changes: 1 addition & 1 deletion crates/language/src/target_language.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use crate::{
csharp::CSharp,
css::Css,
elixir::Elixir,
go::Go,
grit_parser::MarzanoGritParser,
hcl::Hcl,
Expand All @@ -17,7 +18,6 @@ use crate::{
php_only::PhpOnly,
python::Python,
ruby::Ruby,
elixir::Elixir,
rust::Rust,
solidity::Solidity,
sql::Sql,
Expand Down
2 changes: 1 addition & 1 deletion crates/wasm-bindings/src/match_pattern.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ fn pattern_language_to_path(lang: &PatternLanguage) -> anyhow::Result<String> {
PatternLanguage::Go => Ok("/tree-sitter-go.wasm"),
PatternLanguage::Rust => Ok("/tree-sitter-rust.wasm"),
PatternLanguage::Ruby => Ok("/tree-sitter-ruby.wasm"),
PatternLanguage::Elixir=> Ok("/tree-sitter-elixir.wasm"),
PatternLanguage::Elixir => Ok("/tree-sitter-elixir.wasm"),
PatternLanguage::Solidity => Ok("/tree-sitter-solidity.wasm"),
PatternLanguage::Hcl => Ok("/tree-sitter-hcl.wasm"),
PatternLanguage::Yaml => Ok("/tree-sitter-yaml.wasm"),
Expand Down
2 changes: 1 addition & 1 deletion vendor/tree-sitter-gritql

0 comments on commit 37efe63

Please sign in to comment.