{"id":28383201,"url":"https://github.com/geldata/setup-gel","last_synced_at":"2025-06-25T07:30:32.756Z","repository":{"id":37467917,"uuid":"320893539","full_name":"geldata/setup-gel","owner":"geldata","description":"A GitHub Action to install Gel and its CLI","archived":false,"fork":false,"pushed_at":"2025-03-08T00:18:28.000Z","size":2222,"stargazers_count":20,"open_issues_count":1,"forks_count":4,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-06-17T22:13:46.574Z","etag":null,"topics":["actions","cli","edgedb","gel","github-actions"],"latest_commit_sha":null,"homepage":"https://geldata.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geldata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-12-12T18:08:30.000Z","updated_at":"2025-03-08T00:25:45.000Z","dependencies_parsed_at":"2022-07-15T21:30:51.906Z","dependency_job_id":"5bf7aab3-24a9-425a-8a7b-707c953f2542","html_url":"https://github.com/geldata/setup-gel","commit_stats":{"total_commits":18,"total_committers":5,"mean_commits":3.6,"dds":0.5555555555555556,"last_synced_commit":"8bc9e10005674ec772652b86e1fdd476e6462284"},"previous_names":["geldata/setup-gel"],"tags_count":12,"template":false,"template_full_name":"actions/typescript-action","purl":"pkg:github/geldata/setup-gel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geldata%2Fsetup-gel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geldata%2Fsetup-gel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geldata%2Fsetup-gel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geldata%2Fsetup-gel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geldata","download_url":"https://codeload.github.com/geldata/setup-gel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geldata%2Fsetup-gel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261826859,"owners_count":23215657,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["actions","cli","edgedb","gel","github-actions"],"created_at":"2025-05-30T05:12:17.549Z","updated_at":"2025-06-25T07:30:32.750Z","avatar_url":"https://github.com/geldata.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/geldata/setup-gel/actions\"\u003e\u003cimg alt=\"setup-gel build status\" src=\"https://github.com/geldata/setup-gel/workflows/build-test/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# setup-gel v1\n\nThis action downloads and installs Gel CLI and/or Gel Server and makes both\navailable in `PATH`.\n\n# Usage\n\nSee [action.yml](action.yml) for the action's specification.\n\nHow this action works:\n\nThis action executes different commands depending on state of files in\nrepository and inputs for action in workflow. It can:\n\n1. Install Gel tools (CLI and/or server)\n2. Create new Gel instance\n3. Initialize new\n   [Gel project](https://docs.geldata.com/reference/cli/gel_project) or link an\n   existing one to remote instance\n\nThe following examples show how to use this action.\n\nExample (installs stable Gel CLI with server and makes them available in\n`$PATH`) Note: if your repository has `gel.toml` file, then this action will\nalso initialize new project for your workflow. Otherwise, it will just install\nGel CLI and executable server that you can use on your own.\n\n```yaml\non: push\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: CI with Gel action\n    steps:\n      - uses: actions/checkout@v2\n      - uses: geldata/setup-gel@v1\n      - run: gel --version\n```\n\nExample (installs latest Gel CLI without server and makes CLI available in\n`$PATH`)\n\n```yaml\non: push\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: CI with Gel action\n    steps:\n      - uses: actions/checkout@v2\n      - uses: geldata/setup-gel@v1\n        with:\n          cli-version: nightly\n          server-version: none\n      - run: gel --version\n```\n\nExample (installs Gel CLI with server, creates new Gel instance and links it\nusing `gel project init`) NOTE: this assumes that repository for the project has\nalready been initialized using `gel project init` and `gel.toml` file exists in\nthe repository.\n\n```yaml\non: push\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: CI with Gel action\n    steps:\n      - uses: actions/checkout@v4\n      - uses: geldata/setup-gel@v1\n      - run: gel query \"SELECT 'Hello from GitHub Actions'\"\n```\n\nExample (same as one above, but using `services` from GitHub Actions and\n`gel project init --link`)\n\n```yaml\non: push\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: CI with Gel action\n    services:\n      gel:\n        image: geldata/gel:6\n        env:\n          EDGEDB_SERVER_SECURITY: insecure_dev_mode\n        ports:\n          - 5656:5656\n    steps:\n      - uses: actions/checkout@v4\n      - uses: geldata/setup-gel@v1\n        with:\n          server-dsn: gel://localhost:5656\n          instance-name: ci_gel_instance # optional\n      - run: gel query \"SELECT 'Hello from GitHub Actions'\"\n```\n\nExample (creates new instance, but overrides `server-version` from `gel.toml` if\nproject initialization is to be used)\n\n```yaml\non: push\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: CI with Gel action\n    steps:\n      - uses: actions/checkout@v4\n      - uses: geldata/setup-gel@v1\n        with:\n          server-version: 6.0\n          instance-name: ci_gel_instance\n      - run: gel query \"SELECT 'Hello from GitHub Actions'\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeldata%2Fsetup-gel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeldata%2Fsetup-gel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeldata%2Fsetup-gel/lists"}