{"id":25857502,"url":"https://github.com/edgedb/setup-edgedb","last_synced_at":"2025-10-08T01:58:14.161Z","repository":{"id":279023005,"uuid":"937258553","full_name":"edgedb/setup-edgedb","owner":"edgedb","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-22T18:05:22.000Z","size":1555,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-08T01:58:13.669Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/edgedb.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,"zenodo":null}},"created_at":"2025-02-22T17:55:24.000Z","updated_at":"2025-05-24T07:27:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e486eab-db6c-4d68-8861-773624004081","html_url":"https://github.com/edgedb/setup-edgedb","commit_stats":null,"previous_names":["edgedb/setup-edgedb"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/edgedb/setup-edgedb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgedb%2Fsetup-edgedb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgedb%2Fsetup-edgedb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgedb%2Fsetup-edgedb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgedb%2Fsetup-edgedb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgedb","download_url":"https://codeload.github.com/edgedb/setup-edgedb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgedb%2Fsetup-edgedb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278877086,"owners_count":26061380,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"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":[],"created_at":"2025-03-01T19:16:48.240Z","updated_at":"2025-10-08T01:58:14.141Z","avatar_url":"https://github.com/edgedb.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/edgedb/setup-edgedb/actions\"\u003e\u003cimg alt=\"setup-edgedb build status\" src=\"https://github.com/edgedb/setup-edgedb/workflows/build-test/badge.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# setup-edgedb v1\n\nThis action downloads and installs EdgeDB CLI and EdgeDB Server and makes\nboth available 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 repository and inputs for action in workflow. It can:\n1. Install EdgeDB tools (CLI and server)\n2. Create new EdgeDB instance\n3. Initialize new [EdgeDB project](https://www.edgedb.com/docs/cli/edgedb_project/index) or link an existing one to remote instance\n\nThe following examples show how to use this action.\n\nExample (installs stable EdgeDB CLI with server and makes them available in `$PATH`)\nNote: if your repository has `edgedb.toml` file, then this action will also initialize new project for your workflow.\nOtherwise, it will just install EdgeDB 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 EdgeDB action\n    steps:\n      - uses: actions/checkout@v2\n      - uses: edgedb/setup-edgedb@v1\n      - run: edgedb --version\n```\n\nExample (installs latest EdgeDB CLI without server and makes CLI available in `$PATH`)\n```yaml\non: push\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: CI with EdgeDB action\n    steps:\n      - uses: actions/checkout@v2\n      - uses: edgedb/setup-edgedb@v1\n        with:\n          cli-version: nightly\n          server-version: none\n      - run: edgedb --version\n```\n\nExample (installs EdgeDB CLI with server, creates new EdgeDB instance and links it using `edgedb project init`)\nNOTE: this assumes that repository for the project has already been initialized\nusing `edgedb project init` and `edgedb.toml` file exists in the repository.\n```yaml\non: push\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: CI with EdgeDB action\n    steps:\n      - uses: actions/checkout@v2\n      - uses: edgedb/setup-edgedb@v1\n      - run: edgedb query \"SELECT 'Hello from GitHub Actions'\"\n```\n\nExample (same as one above, but using `services` from GitHub Actions and `edgedb project init --link`)\n```yaml\non: push\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: CI with EdgeDB action\n    services:\n      edgedb:\n        image: edgedb/edgedb:1-rc2\n        env:\n          EDGEDB_SERVER_SECURITY: insecure_dev_mode\n        ports:\n          - 5656:5656\n    steps:\n      - uses: actions/checkout@v2\n      - uses: edgedb/setup-edgedb@v1\n        with:\n          server-dsn: edgedb://localhost:5656\n          instance-name: ci_edgedb_instance  # optional\n      - run: edgedb query \"SELECT 'Hello from GitHub Actions'\"\n```\n\nExample (creates new instance, but overrides `server-version` from `edgedb.toml` if project initialization is to be used)\n```yaml\non: push\n\njobs:\n  test:\n    runs-on: ubuntu-latest\n    name: CI with EdgeDB action\n    steps:\n      - uses: actions/checkout@v2\n      - uses: edgedb/setup-edgedb@v1\n        with:\n          server-version: 1.0-rc.2\n          instance-name: ci_edgedb_instance\n      - run: edgedb query \"SELECT 'Hello from GitHub Actions'\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgedb%2Fsetup-edgedb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgedb%2Fsetup-edgedb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgedb%2Fsetup-edgedb/lists"}