Skip to content

Commit 6414e36

Browse files
committed
maybe fix workflow
1 parent 88a6eb8 commit 6414e36

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/test-import-using-nix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
with:
1616
fetch-depth: 0
1717
- uses: cachix/install-nix-action@v11
18+
env:
19+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
1820
with:
1921
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/20.09.tar.gz
2022
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-3.0pre20201007_5257a25/install

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "Test"
2+
on:
3+
pull_request:
4+
push:
5+
jobs:
6+
tests:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
with:
11+
# Nix Flakes doesn't work on shallow clones
12+
fetch-depth: 0
13+
- uses: cachix/install-nix-action@v11
14+
env:
15+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
16+
with:
17+
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-3.0pre20200820_4d77513/install
18+
extra_nix_config: |
19+
experimental-features = nix-command flakes
20+
- run: nix-build

0 commit comments

Comments
 (0)