Skip to content

Commit

Permalink
Fix grammar update.
Browse files Browse the repository at this point in the history
  • Loading branch information
kklein committed Nov 4, 2024
1 parent 8ef8224 commit 6052da1
Show file tree
Hide file tree
Showing 3 changed files with 269 additions and 979 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update_grammar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
fetch-depth: 0
- name: Set up pixi
uses: prefix-dev/[email protected]
with:
environments: grammar
- name: Download ANTLR
working-directory: src/pytsql/grammar
run: wget https://repo1.maven.org/maven2/org/antlr/antlr4/4.13.1/antlr4-4.13.1-complete.jar
- name: Download latest grammar definition and re-generate grammar targets
working-directory: src/pytsql/grammar
run: |
bash helper_generate_grammar_targets.sh antlr4-4.13.1-complete.jar -d
run: pixi run update-grammar
- name: Install package (test compilation)
run:
pixi run pip install .
pixi run -e grammar pip install .
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
Expand Down
Loading

0 comments on commit 6052da1

Please sign in to comment.