21 lines
521 B
YAML
21 lines
521 B
YAML
name: "Check"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install dependencies for Nix setup action
|
|
run: |
|
|
apt update -y
|
|
apt install sudo -y
|
|
- uses: cachix/install-nix-action@v27
|
|
- name: enable kvm support
|
|
run: |
|
|
echo "system-features = nixos-test benchmark big-parallel kvm" >> /etc/nix/nix.conf
|
|
echo "Added features to nix conf"
|
|
cat /etc/nix/nix.conf
|
|
- run: nix flake check
|