WIP WIP WIP WIP (NOT DONE) The Github Action to install Lix WIP WIP WIP WIP
Find a file
2023-01-24 08:51:23 -08:00
.github/workflows More thorough testing 2023-01-13 12:18:14 -08:00
action.yml Use some arguments as input templated 2023-01-24 08:51:23 -08:00
LICENSE Add LICENSE 2023-01-13 10:30:02 -08:00
README.md Link back to nix-installer repo 2023-01-13 10:53:14 -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
      with:
        # Allow the installed Nix to make authenticated Github requests.
        # If you skip this, you will likely get rate limited.
        github-token: ${{ secrets.GITHUB_TOKEN }}
    - name: Run `nix build`
      run: nix build .

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