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-11-22 23:09:53 +00:00
|
|
|
- uses: cachix/install-nix-action@v16
|
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 ./. { }'
|