The Github Action for the Determinate Nix Installer
Find a file
2023-02-07 07:23:58 -08:00
.github/workflows Merge pull request #5 from zhaofengli/trust-runner-user 2023-02-02 11:35:00 -08:00
action.yml Merge pull request #4 from DeterminateSystems/start-daemon-and-init 2023-02-07 07:23:58 -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.