Skip to content

feat(spider-storage): Add JobCache and StorageServerError. #948

feat(spider-storage): Add JobCache and StorageServerError.

feat(spider-storage): Add JobCache and StorageServerError. #948

name: "tdl-generated-code-checks"
on:
pull_request:
push:
schedule:
# Run daily at 00:15 UTC (the 15 is to avoid periods of high load)
- cron: "15 0 * * *"
workflow_dispatch:
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
# Cancel in-progress jobs for efficiency
cancel-in-progress: true
jobs:
antlr-code-committed:
name: "antlr-code-committed"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
with:
submodules: "recursive"
- uses: "./tools/yscope-dev-utils/exports/github/actions/install-java"
- uses: "./tools/yscope-dev-utils/exports/github/actions/install-go-task"
- name: "Generate parsers"
shell: "bash"
run: "task build:tdl-generate-parsers"
- name: "Check if the generated parsers are the latest"
shell: "bash"
run:
|
git diff --exit-code src/spider/tdl/parser/antlr_generated