{"id":14968077,"url":"https://github.com/cachix/cachix-action","last_synced_at":"2025-05-14T12:07:41.415Z","repository":{"id":37580093,"uuid":"211717886","full_name":"cachix/cachix-action","owner":"cachix","description":"Build software only once and put it in a global cache","archived":false,"fork":false,"pushed_at":"2025-03-11T12:47:48.000Z","size":17840,"stargazers_count":278,"open_issues_count":11,"forks_count":40,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-05T23:04:26.183Z","etag":null,"topics":["action","cachix","nix"],"latest_commit_sha":null,"homepage":"https://cachix.org","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cachix.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":"2019-09-29T19:52:01.000Z","updated_at":"2025-04-02T11:00:12.000Z","dependencies_parsed_at":"2023-12-27T01:26:47.580Z","dependency_job_id":"64a461c3-df0c-48a6-b690-61ce7ebb86c2","html_url":"https://github.com/cachix/cachix-action","commit_stats":{"total_commits":205,"total_committers":19,"mean_commits":"10.789473684210526","dds":0.6097560975609756,"last_synced_commit":"3fcfc317481d079d5fe97f1f55b630dc72746c3e"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cachix%2Fcachix-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cachix%2Fcachix-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cachix%2Fcachix-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cachix%2Fcachix-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cachix","download_url":"https://codeload.github.com/cachix/cachix-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247661430,"owners_count":20975060,"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":["action","cachix","nix"],"created_at":"2024-09-24T13:39:12.753Z","updated_at":"2025-04-11T14:38:40.326Z","avatar_url":"https://github.com/cachix.png","language":"TypeScript","funding_links":[],"categories":["GitHub","TypeScript"],"sub_categories":[],"readme":"# cachix-action\n\n![github actions badge](https://github.com/cachix/cachix-action/workflows/cachix-action%20test/badge.svg)\n\nOne nice benefit of Nix is that CI can build and cache developer environments for every project on every branch using binary caches.\n\nAnother important aspect of CI is the feedback loop of how many minutes does the build take to finish.\n\nWith a simple configuration using Cachix, you’ll never have to build any derivation twice and share them with all your developers.\n\nAfter each job, just built derivations are pushed to your binary cache.\n\nBefore each job, derivations to be built are first substituted (if they exist) from your binary cache.\n\n## Getting started\n\nFollow [Continuous Integration with GitHub Actions](https://nix.dev/tutorials/nixos/continuous-integration-github-actions) tutorial.\n\nSee [action.yml](action.yml) for all options.\n\n## Security\n\nCachix auth token and signing key need special care as they give read and write access to your caches.\n\n[As per GitHub Actions' security model](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#accessing-your-secrets):\n\n\u003e You can use and read secrets in a workflow file if you have access to edit the file.\n\nWhich means all developers with write/push access can read your secrets and write to your cache.\n\nPull requests from forks do not have access to secrets so read access to a public binary cache will work,\nbut pushing will be disabled since there is no signing key.\n\nNote that malicious code submitted via forked pull request can, once merged into `master`, reveal tokens.\n\n## Hacking\n\nInstall the dependencies\n\n```bash\n$ pnpm install\n```\n\nBuild the typescript\n\n```bash\n$ pnpm build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcachix%2Fcachix-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcachix%2Fcachix-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcachix%2Fcachix-action/lists"}