1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-10 04:59:40 +01:00
nixos-hardware/.github/workflows/test.yml
2024-06-21 23:50:11 +02:00

20 lines
474 B
YAML

name: "Test"
on:
pull_request:
push:
branches:
- master
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
channel: [ nixos-unstable, nixos-24.05 ]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
with:
nix_path: nixpkgs=channel:${{ matrix.channel }}
- name: Show nixpkgs version
run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- run: ./tests/run.py