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: jobs:
build: build:
runs-on: ubuntu-latest runs-on: "nix"
steps: steps:
- uses: actions/checkout@v3 - uses: "actions/checkout@v3"
- uses: cachix/install-nix-action@master - uses: "cachix/install-nix-action@master"
with: with:
github_access_token: ${{ secrets.GITHUB_TOKEN }} github_access_token: "${{ secrets.GITHUB_TOKEN }}"
- name: Build - name: "Build"
run: nix build '.#system-manager' run: |
- name: Run tests nix build '.#system-manager'
run: nix flake check - name: "Run tests"
run: |
nix flake check