mirror of
https://github.com/ryantm/agenix.git
synced 2024-11-25 02:58:30 +03:00
b8e873bc23
That wasn't how you do it.
23 lines
590 B
YAML
23 lines
590 B
YAML
name: "CI"
|
|
on:
|
|
pull_request:
|
|
push:
|
|
jobs:
|
|
tests-linux:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v2.3.4
|
|
- uses: cachix/install-nix-action@v15
|
|
with:
|
|
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
|
|
- run: nix build
|
|
- run: nix flake check
|
|
tests-darwin:
|
|
runs-on: macos-11
|
|
steps:
|
|
- uses: actions/checkout@v2.3.4
|
|
- uses: cachix/install-nix-action@v15
|
|
with:
|
|
extra_nix_config: "system-features = nixos-test benchmark big-parallel kvm"
|
|
- run: nix build
|
|
- run: nix flake check
|