Merge pull request #27 from trskop/master

Using install-nix-actions per Justin's advice
This commit is contained in:
Justin Woo 2020-07-03 13:05:22 +03:00 committed by GitHub
commit 288ee825c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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: ./test.bash
curl https://nixos.org/nix/install | sh
. "$HOME"/.nix-profile/etc/profile.d/nix.sh
./test.bash