nix-eval-jobs/.github/workflows/test.yml

20 lines
481 B
YAML
Raw Normal View History

2021-03-15 05:09:41 +00:00
name: "Test"
on:
pull_request:
push:
2021-03-15 05:09:41 +00:00
branches:
- main
2021-03-15 05:09:41 +00:00
schedule:
- cron: '51 2 * * *'
jobs:
tests:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v15
2021-03-15 05:09:41 +00:00
- name: build
2021-09-25 03:34:46 +00:00
run: NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz nix-build --expr '(import <nixpkgs> { }).callPackage ./. { }'