{"id":19758461,"url":"https://github.com/alvarogarcia7/training-parser-antlr4","last_synced_at":"2026-06-17T14:31:36.433Z","repository":{"id":69483779,"uuid":"461432970","full_name":"alvarogarcia7/training-parser-antlr4","owner":"alvarogarcia7","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-27T13:18:37.000Z","size":429,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-27T14:28:54.526Z","etag":null,"topics":["antlr4","antlr4-grammar","grammar","grammar-parser","parser","python3","training"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alvarogarcia7.png","metadata":{"files":{"readme":"README-ACT.md","changelog":"CHANGELOG_DOT_NOTATION.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2022-02-20T08:55:10.000Z","updated_at":"2026-04-27T13:18:45.000Z","dependencies_parsed_at":"2024-06-16T14:39:52.820Z","dependency_job_id":"ef325278-d733-4f4e-87c0-603f1f2fe3db","html_url":"https://github.com/alvarogarcia7/training-parser-antlr4","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alvarogarcia7/training-parser-antlr4","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarogarcia7%2Ftraining-parser-antlr4","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarogarcia7%2Ftraining-parser-antlr4/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarogarcia7%2Ftraining-parser-antlr4/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarogarcia7%2Ftraining-parser-antlr4/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvarogarcia7","download_url":"https://codeload.github.com/alvarogarcia7/training-parser-antlr4/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarogarcia7%2Ftraining-parser-antlr4/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34453431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["antlr4","antlr4-grammar","grammar","grammar-parser","parser","python3","training"],"created_at":"2024-11-12T03:24:30.893Z","updated_at":"2026-06-17T14:31:36.427Z","avatar_url":"https://github.com/alvarogarcia7.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Running GitHub Actions Locally with Act\n\nThis repository is configured to run GitHub Actions workflows locally using [act](https://github.com/nektos/act).\n\n## Installation\n\n### macOS\n```bash\nbrew install act\n```\n\n### Linux\n```bash\ncurl https://raw.githubusercontent.com/nektos/act/master/install.sh | sudo bash\n```\n\n### Windows\n```bash\nchoco install act-cli\n```\n\nOr download binaries from the [releases page](https://github.com/nektos/act/releases).\n\n## Prerequisites\n\n- Docker must be installed and running\n- Sufficient disk space for Docker images (~1-2GB for medium image)\n\n## Configuration\n\nThe repository includes a `.actrc` file that configures act to use the medium-sized Docker image (`catthehacker/ubuntu:act-latest`), which provides better compatibility with the CI workflow requirements.\n\n## Running Workflows\n\n### Run all jobs in the CI workflow\n```bash\nact\n```\n\n### Run a specific job\n```bash\nact -j compile-grammar\nact -j typecheck\nact -j test\nact -j e2e-test\n```\n\n### Run on push event\n```bash\nact push\n```\n\n### Run on pull request event\n```bash\nact pull_request\n```\n\n### List available workflows and jobs\n```bash\nact -l\n```\n\n### Dry run (show what would be executed)\n```bash\nact -n\n```\n\n### Run with verbose output\n```bash\nact -v\n```\n\n## Common Issues\n\n### Java setup\nThe workflow requires Java 11 for compiling ANTLR4 grammar. The medium image includes Java, but if you encounter issues, you can use the full image:\n```bash\nact -P ubuntu-latest=catthehacker/ubuntu:full-latest\n```\n\n### Artifact upload/download\nAct has limited support for artifact actions. Jobs that depend on artifacts from previous jobs may need to be run with the `--artifact-server-path` flag:\n```bash\nact --artifact-server-path /tmp/artifacts\n```\n\n### Cache actions\nCache actions may not work perfectly in local environments. If you encounter cache-related issues, the workflow will fall back to downloading and compiling resources.\n\n## Workflow Overview\n\nThe CI workflow includes four jobs:\n\n1. **compile-grammar**: Compiles ANTLR4 grammar and uploads artifacts\n2. **typecheck**: Downloads compiled grammar and runs mypy type checking\n3. **test**: Downloads compiled grammar and runs pytest\n4. **e2e-test**: Downloads compiled grammar and runs end-to-end tests with sample data\n\nDue to artifact dependencies, you may need to run jobs sequentially or use the artifact server path flag.\n\n## Tips\n\n- First run will download the Docker image (~1GB), subsequent runs will be faster\n- Use `-j \u003cjob-name\u003e` to test individual jobs during development\n- Use `--secret-file .secrets` if your workflow needs secrets (not required for this repo)\n- Act uses your local filesystem, so changes to code are immediately reflected\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarogarcia7%2Ftraining-parser-antlr4","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvarogarcia7%2Ftraining-parser-antlr4","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarogarcia7%2Ftraining-parser-antlr4/lists"}