The Github Action for the Determinate Nix Installer
Find a file
Ana Hobden 1132ad038b
Merge pull request #9 from DeterminateSystems/user-count-setting
Fix input parameter name for user count
2023-02-17 11:01:07 -08:00
.github/workflows Merge pull request #5 from zhaofengli/trust-runner-user 2023-02-02 11:35:00 -08:00
action.yml Fix input parameter name 2023-02-17 10:46:55 -08:00
LICENSE Add LICENSE 2023-01-13 10:30:02 -08:00
README.md Use github token from context not secret 2023-02-01 10:51:24 -08:00

Nix Installer Action

You can use nix-installer as a Github action like so:

on:
  pull_request:
  push:
    branches: [main]

jobs:
  lints:
    name: Build
    runs-on: ubuntu-22.04
    steps:
    - uses: actions/checkout@v3
    - name: Install Nix
      uses: DeterminateSystems/nix-installer-action@main
    - name: Run `nix build`
      run: nix build .

See .github/workflows/ci.yml for a full example.