nixos-hardware/.github/workflows/test.yml

16 lines
361 B
YAML
Raw Normal View History

name: "Test"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
2020-11-26 02:34:03 -05:00
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Show nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- run: ./tests/run.py