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

23 lines
611 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:
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
- uses: cachix/install-nix-action@v13
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