All Projects → cachix → Cachix Action

cachix / Cachix Action

Licence: apache-2.0
Build software only once and put it in a global cache

Programming Languages

typescript
32286 projects

Labels

Projects that are alternatives of or similar to Cachix Action

Hs Nix Template
A Haskell project template that can be built with nix and developed by ghcid and cabal-install.
Stars: ✭ 57 (-32.94%)
Mutual labels:  nix
Deckdeckgo
The web open source editor for presentations
Stars: ✭ 1,117 (+1214.12%)
Mutual labels:  nix
Home Manager Template
A quick-start template for using home-manager in a more reproducible way.
Stars: ✭ 73 (-14.12%)
Mutual labels:  nix
Nixos Configurations
Stars: ✭ 58 (-31.76%)
Mutual labels:  nix
Animatedpencil
Animated Pencil Action view for Android
Stars: ✭ 61 (-28.24%)
Mutual labels:  action
Rien
Predictable Haskell development environments with Cabal and Nix.
Stars: ✭ 65 (-23.53%)
Mutual labels:  nix
Nix Hs Hello Windows
Cross compiling Hello World (haskell) to Windows using nix.
Stars: ✭ 55 (-35.29%)
Mutual labels:  nix
B
Collection of configuration stuff.
Stars: ✭ 80 (-5.88%)
Mutual labels:  nix
Setup.nix
Nixpkgs based build tools for declarative Python packages [[email protected]]
Stars: ✭ 62 (-27.06%)
Mutual labels:  nix
Epic Kitchens 55 Action Models
EPIC-KITCHENS-55 baselines for Action Recognition
Stars: ✭ 68 (-20%)
Mutual labels:  action
Rsync Deployments
GitHub Action for deploying code via rsync over ssh
Stars: ✭ 59 (-30.59%)
Mutual labels:  action
Neovim Nightly Overlay
[[email protected]]
Stars: ✭ 60 (-29.41%)
Mutual labels:  nix
Elm2nix
Convert Elm project into Nix expressions
Stars: ✭ 65 (-23.53%)
Mutual labels:  nix
Homelab
Configuration management for Matt Layher's machines. MIT Licensed.
Stars: ✭ 57 (-32.94%)
Mutual labels:  nix
Terranix
terranix is a terraform.json generator with a nix-like feeling
Stars: ✭ 77 (-9.41%)
Mutual labels:  nix
Nix Gitignore
superseded / unmaintained
Stars: ✭ 56 (-34.12%)
Mutual labels:  nix
Dotfiles
well-tailored NixOS & nix-darwin dotfiles
Stars: ✭ 63 (-25.88%)
Mutual labels:  nix
Dhall Nix
This repository has moved to https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-nix
Stars: ✭ 82 (-3.53%)
Mutual labels:  nix
Nix Tools
Translate Cabals Generic Package Description to a Nix expression
Stars: ✭ 78 (-8.24%)
Mutual labels:  nix
Cardano Graphql
GraphQL API for Cardano
Stars: ✭ 66 (-22.35%)
Mutual labels:  nix

cachix-action

github actions badge

One nice benefit of Nix is that CI can build and cache developer environments for every project on every branch using binary caches.

Another important aspect of CI is the feedback loop of how many minutes does the build take to finish.

With a simple configuration using Cachix, you’ll never have to build any derivation twice and share them with all your developers.

After each job, just built derivations are pushed to your binary cache.

Before each job, derivations to be built are first substituted (if they exist) from your binary cache.

Getting started

Follow Continuous Integration with GitHub Actions tutorial.

See action.yml for all options.

Security

Cachix auth token and signing key need special care as they give read and write access to your caches.

As per GitHub Actions' security model:

Anyone with write access to a repository can create, read, and use secrets.

Which means all developers with write/push access can read your secrets and write to your cache.

Pull requests do not have access to secrets so read access to a public binary cache will work, but pushing will be disabled since there is no signing key.

Note that malicious code submitted via a pull request can, once merged into master, reveal the tokens.

Hacking

Install the dependencies

$ yarn install

Build the typescript

$ yarn build

Run the tests ✔️

$ yarn test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].