Skip to content

Commit f183fed

Browse files
committed
CI: Install adjusted antlr4-tools (JavaScript)
1 parent d355931 commit f183fed

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/javascript.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,20 @@ jobs:
6262
cache: 'npm'
6363
cache-dependency-path: '**/package-lock.json'
6464

65-
- name: Generate runtime grammar
65+
- name: Set up project
6666
run: |
6767
cd ..
6868
pip install --requirement requirements.txt
69+
# TODO: Remove again after upstream patch was merged and released.
70+
# https://github.com/crate/cratedb-sqlparse/issues/170
71+
# https://github.com/antlr/antlr4-tools/issues/22
72+
# https://github.com/antlr/antlr4-tools/pull/23
73+
pip uninstall --yes antlr4-tools
74+
pip install --upgrade 'antlr4-tools @ git+https://github.com/crate-workbench/antlr4-tools@search.maven.org'
75+
76+
- name: Generate runtime grammar
77+
run: |
78+
cd ..
6979
python setup_grammar.py javascript
7080
7181
- name: Set up project

0 commit comments

Comments
 (0)