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:
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue