Skip to content

Commit 6052da1

Browse files
committed
Fix grammar update.
1 parent 8ef8224 commit 6052da1

File tree

3 files changed

+269
-979
lines changed

3 files changed

+269
-979
lines changed

.github/workflows/update_grammar.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919
fetch-depth: 0
2020
- name: Set up pixi
2121
uses: prefix-dev/setup-pixi@v0.8.1
22+
with:
23+
environments: grammar
2224
- name: Download ANTLR
2325
working-directory: src/pytsql/grammar
2426
run: wget https://repo1.maven.org/maven2/org/antlr/antlr4/4.13.1/antlr4-4.13.1-complete.jar
2527
- name: Download latest grammar definition and re-generate grammar targets
26-
working-directory: src/pytsql/grammar
27-
run: |
28-
bash helper_generate_grammar_targets.sh antlr4-4.13.1-complete.jar -d
28+
run: pixi run update-grammar
2929
- name: Install package (test compilation)
3030
run:
31-
pixi run pip install .
31+
pixi run -e grammar pip install .
3232
- name: Create Pull Request
3333
uses: peter-evans/create-pull-request@v7
3434
with:

0 commit comments

Comments
 (0)