Run the CI on our nix runner.
This commit is contained in:
parent
1d697c9b1e
commit
9ac1c24c6e
1 changed files with 10 additions and 8 deletions
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue