Run the CI on our nix runner.

This commit is contained in:
r-vdp 2023-04-06 16:52:11 +02:00
parent 1d697c9b1e
commit 9ac1c24c6e
No known key found for this signature in database

View file

@ -12,14 +12,16 @@ env:
jobs:
build:
runs-on: ubuntu-latest
runs-on: "nix"
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@master
- uses: "actions/checkout@v3"
- uses: "cachix/install-nix-action@master"
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: nix build '.#system-manager'
- name: Run tests
run: nix flake check
github_access_token: "${{ secrets.GITHUB_TOKEN }}"
- name: "Build"
run: |
nix build '.#system-manager'
- name: "Run tests"
run: |
nix flake check