{"id":15056344,"url":"https://github.com/cargosense/setup-elixir-project","last_synced_at":"2026-03-11T06:31:10.490Z","repository":{"id":225869022,"uuid":"767028823","full_name":"CargoSense/setup-elixir-project","owner":"CargoSense","description":"A reusable GitHub Action for Elixir projects.","archived":false,"fork":false,"pushed_at":"2024-08-19T11:48:29.000Z","size":20,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-14T06:13:04.032Z","etag":null,"topics":["elixir","erlang","github-actions"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/CargoSense.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-04T15:20:43.000Z","updated_at":"2024-03-04T17:01:31.000Z","dependencies_parsed_at":"2024-03-04T19:10:14.368Z","dependency_job_id":"ca261ccf-90f9-47e8-b191-869c8f782729","html_url":"https://github.com/CargoSense/setup-elixir-project","commit_stats":null,"previous_names":["cargosense/setup-elixir-project"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CargoSense%2Fsetup-elixir-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CargoSense%2Fsetup-elixir-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CargoSense%2Fsetup-elixir-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CargoSense%2Fsetup-elixir-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CargoSense","download_url":"https://codeload.github.com/CargoSense/setup-elixir-project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532562,"owners_count":20306156,"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":["elixir","erlang","github-actions"],"created_at":"2024-09-24T21:50:02.054Z","updated_at":"2025-12-12T07:21:18.068Z","avatar_url":"https://github.com/CargoSense.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CargoSense/setup-elixir-project\n\n🧪 ⚙️ **A composite GitHub Action for configuring, installing, and building your project's [Erlang/OTP](https://www.erlang.org) and [Elixir](https://elixir-lang.org) versions, dependencies, and application code.**\n\n[![Build](https://img.shields.io/github/actions/workflow/status/CargoSense/setup-elixir-project/ci.yml?branch=main\u0026logo=github\u0026style=for-the-badge)](https://github.com/CargoSense/setup-elixir-project/actions/workflows/ci.yml)\n\n## Usage\n\n```yaml\n- uses: CargoSense/setup-elixir-project@v1\n  with:\n    # Erlang/OTP version to install. Reads from `.tool-versions` if unset.\n    otp-version: \"\"\n    # Elixir version to install. Reads from `.tool-versions` if unset.\n    elixir-version: \"\"\n    # Install Hex using `mix local.hex`.\n    # Default: true\n    install-hex: \"\"\n    # Install Rebar using `mix local.rebar`.\n    # Default: true\n    install-rebar:\n    # An arbitrary string added to the derived cache key names. Set or change to\n    # invalidate existing caches.\n    # Default: \"v1\"\n    cache-key: \"\"\n    # Compile application using `mix compile`.\n    # Default: true\n    build-app: true\n    # Additional flags to pass to `mix compile`.\n    # Default: \"--all-warnings\"\n    build-flags: \"\"\n```\n\n### Basic Usage\n\n```yaml\nsteps:\n  - uses: actions/checkout@v6\n  - uses: CargoSense/setup-elixir-project@v1\n  - run: mix test\n```\n\nThe `otp-version` and `elixir-version` inputs are optional and, if not set, default to versions specified in an [asdf](https://asdf-vm.com) `.tool-versions` file located in the root of your project. Refer to [asdf's Configuration documentation](https://asdf-vm.com/manage/configuration.html#tool-versions) for more on this file's format.\n\n\u003e [!IMPORTANT]\n\u003e When defaulting to a `.tool-versions` file, strict version matching is enabled and passed to the [setup-beam](https://github.com/erlef/setup-beam) Action. You may otherwise take advantage of setup-beam's loose version matching. Consult that project's documentation for up-to-date version-matching capabilities.\n\n## Acknowledgments\n\nSignificant portions of this project's Action code was derived from [Tyler Young](https://github.com/s3cur3)'s [ultimate-elixir-ci](https://github.com/felt/ultimate-elixir-ci) repository. Check out their excellent article, [Taking Hashrocket's \"Ultimate Elixir CI\" to the next level](https://felt.com/blog/hashrocket-ultimate-elixir-to-the-next-level).\n\nThis Action also relies on [The Erlang Ecosystem Foundation](https://github.com/erlef)'s [setup-beam](https://github.com/erlef/setup-beam) project.\n\n## License\n\nThis project is freely available under the [MIT License](https://opensource.org/license/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcargosense%2Fsetup-elixir-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcargosense%2Fsetup-elixir-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcargosense%2Fsetup-elixir-project/lists"}