Skip to content

flox/configure-nix-action

Repository files navigation

Configures Nix on GitHub Actions for the supported platforms: Linux and macOS.

⭐ Getting Started

Create .github/workflows/ci.yml in your repo with the following contents:

name: "CI"

on:
  pull_request:
  push:

jobs:
  tests:
    runs-on: ubuntu-latest
    steps:

    - name: Checkout
      uses: actions/checkout@v3

    - name: Install Nix
      uses: cachix/install-nix-action

    - name: Configure Nix
      uses: flox/configure-nix-action
      with: ...options...

    - name: Build
      run: nix build ...

🚀 Options

See ./action.yml file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published