try nix for ci
This commit is contained in:
parent
417011ba77
commit
08500aa06c
|
@ -0,0 +1,18 @@
|
||||||
|
name: "Test Nix"
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
jobs:
|
||||||
|
tests:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: cachix/install-nix-action@v18
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-23.05"
|
||||||
|
- uses: workflow/nix-shell-action@v3
|
||||||
|
with:
|
||||||
|
packages: nodejs_20,pandoc
|
||||||
|
script: |
|
||||||
|
node --version
|
||||||
|
pandoc --version
|
Loading…
Reference in New Issue