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
|
2021-09-13 23:07:08 +00:00
|
|
|
- uses: cachix/install-nix-action@v14
|
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 ./. { }'
|