Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 585 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 585 Bytes

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.