WIP WIP WIP WIP (NOT DONE) The Github Action to install Lix WIP WIP WIP WIP
Find a file
Graham Christensen c8e9046039
Update action.yml
2023-02-24 14:27:26 -05:00
.github/workflows Merge pull request #5 from zhaofengli/trust-runner-user 2023-02-02 11:35:00 -08:00
action.yml Update action.yml 2023-02-24 14:27:26 -05: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.