{"id":20564325,"url":"https://github.com/tarantool/setup-tarantool","last_synced_at":"2025-04-14T15:10:49.921Z","repository":{"id":37248654,"uuid":"306059045","full_name":"tarantool/setup-tarantool","owner":"tarantool","description":"Setup Tarantool for use with Github Actions","archived":false,"fork":false,"pushed_at":"2024-02-27T17:14:28.000Z","size":1278,"stargazers_count":9,"open_issues_count":12,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-28T04:03:16.891Z","etag":null,"topics":["actions","tarantool"],"latest_commit_sha":null,"homepage":"","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/tarantool.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-10-21T14:53:55.000Z","updated_at":"2024-02-06T12:22:47.000Z","dependencies_parsed_at":"2024-02-22T15:28:31.652Z","dependency_job_id":"256223d4-554e-404f-8f34-0ac810dec7ad","html_url":"https://github.com/tarantool/setup-tarantool","commit_stats":{"total_commits":45,"total_committers":3,"mean_commits":15.0,"dds":0.4,"last_synced_commit":"615e8f4e4dfbf4e41631a72660d27f1ede102aa0"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fsetup-tarantool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fsetup-tarantool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fsetup-tarantool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tarantool%2Fsetup-tarantool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tarantool","download_url":"https://codeload.github.com/tarantool/setup-tarantool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248904640,"owners_count":21180835,"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","tarantool"],"created_at":"2024-11-16T04:25:40.919Z","updated_at":"2025-04-14T15:10:49.890Z","avatar_url":"https://github.com/tarantool.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Test](https://github.com/tarantool/setup-tarantool/workflows/Test/badge.svg)\n\n# Setup Tarantool\n\nThis action will set up [Tarantool](https://www.tarantool.io) environment and **cache the packages**.\n\n- When cached, it takes \\~1-2s to finish.\n- The first run takes \\~40s.\n- Cache size is 20MB-30MB.\n- Runs on GitHub-hosted `ubuntu-*` runners.\n- Runs on Debian/Ubuntu self-hosted runners.\n- Runs inside Debian/Ubuntu container jobs.\n\n# Usage\n\n### Basic\n\n```yaml\nsteps:\n  - uses: actions/checkout@v4\n  - uses: tarantool/setup-tarantool@v3\n    with:\n      tarantool-version: '2.10'\n  - run: tarantoolctl rocks install luatest\n  - run: tarantoolctl rocks make\n  - run: .rocks/bin/luatest -v\n```\n\n### Install an exact version\n\n```yaml\nsteps:\n  - uses: actions/checkout@v4\n  - uses: tarantool/setup-tarantool@v3\n    with:\n      tarantool-version: '2.10.4'\n```\n\n### Install a nightly build\n\n*Important:* nightly builds are not available for 2.10.0 and newer.\n\n```yaml\nsteps:\n  - uses: actions/checkout@v4\n  - uses: tarantool/setup-tarantool@v3\n    with:\n      tarantool-version: '2.6'  # or, say, '2.6.1.0' for exact version\n      nightly-build: true\n```\n\n### Self-hosted runners and container jobs\n\nIt requires an additional step to bring dependencies needed for the action\nitself. These dependencies are preinstalled on GitHub hosted runners, but a\nself-hosted runner and a docker image may miss them.\n\nConfiguring `apt-get` to skip recommended and suggested packages reduces the\ncache size from \\~200MiB to \\~30MiB.\n\n```yaml\njobs:\n  myjob:\n    runs-on: ubuntu-latest\n    container:\n      image: debian:bookworm\n\n    env:\n      DEBIAN_FRONTEND: noninteractive\n\n    steps:\n      - name: Configure apt-get\n        run: |\n          mkdir -p /etc/apt/apt.conf.d\n          printf '%s\\n%s\\n'                    \\\n            'APT::Install-Recommends \"false\";' \\\n            'APT::Install-Suggests \"false\";'   \\\n            \u003e /etc/apt/apt.conf.d/no-recommends-no-suggests.conf\n\n      - name: Update repositories metadata\n        run: |\n          apt-get -y update\n\n      - name: Workaround interactive tzdata configuration problem (gh-50)\n        run:\n          apt-get -y install tzdata\n\n      - name: Install setup-tarantool dependencies\n        run: |\n          apt-get -y install sudo lsb-release gnupg ca-certificates rsync\n\n      - uses: tarantool/setup-tarantool@v3\n        with:\n          tarantool-version: '2.11'\n```\n\n# License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE).\n\n# Contributions\n\nContributions are welcome! Just open an issue or send a pull request.\n\nCheck out [HACKING.md](./HACKING.md) file for hints.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fsetup-tarantool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftarantool%2Fsetup-tarantool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftarantool%2Fsetup-tarantool/lists"}