Skip to content

Commit

Permalink
maybe fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfschr committed Dec 2, 2020
1 parent 88a6eb8 commit 6414e36
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test-import-using-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v11
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
with:
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-3.0pre20201007_5257a25/install
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Test"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
# Nix Flakes doesn't work on shallow clones
fetch-depth: 0
- uses: cachix/install-nix-action@v11
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
with:
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-3.0pre20200820_4d77513/install
extra_nix_config: |
experimental-features = nix-command flakes
- run: nix-build

0 comments on commit 6414e36

Please sign in to comment.