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:
|
|
|
|
nixPath:
|
2021-08-25 19:01:17 +00:00
|
|
|
- nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-21.05.tar.gz
|
2021-03-15 05:09:41 +00:00
|
|
|
- nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz
|
|
|
|
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
|
|
|
|
run: NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz nix-build
|