Using install-nix-actions per Justin's advice

For more information see comments in justinwoo/easy-dhall-nix#26
This commit is contained in:
Peter Trško 2020-07-03 10:25:51 +01:00
parent d15b593628
commit 5b9961e78a

View file

@ -1,5 +1,8 @@
name: My Workflow name: My Workflow
on: [push]
on:
pull_request:
push:
jobs: jobs:
my_job: my_job:
@ -11,9 +14,6 @@ jobs:
os: [ubuntu-latest] os: [ubuntu-latest]
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v2
- name: nix - uses: cachix/install-nix-action@v9
run: | - run: ./tests.bash
curl https://nixos.org/nix/install | sh
. "$HOME"/.nix-profile/etc/profile.d/nix.sh
./test.bash