Skip to content

Update LIGO Grammars #709

Update LIGO Grammars

Update LIGO Grammars #709

Workflow file for this run

name: Update LIGO Grammars
on:
schedule:
# Runs every day at 3am EST (which is 8am UTC)
- cron: '0 8 * * *'
push:
branches:
- main
jobs:
update-grammar:
runs-on: ubuntu-latest
steps:
- name: Checkout Taqueria
uses: actions/checkout@v2
with:
path: taqueria
- name: Clone LIGO from GitLab
run: git clone https://gitlab.com/ligolang/ligo.git ligo
- name: Copy grammar files
run: cp ligo/tools/ligo-syntax-highlighting/textmate/* taqueria/taqueria-vscode-extension/syntaxes/ligo/
- name: Check git status and commit if needed
run: |
cd taqueria
if [[ $(git status -s) ]]; then
git config user.email "[email protected]"
git config user.name "Michael Weichert"
git add -A
git commit -m "Updated LIGO grammars to the latest version"
git push
else
echo "No changes to commit"
fi