File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 11
11
- name : Checkout
12
12
uses : actions/checkout@v2
13
13
- name : Nix
14
- uses : cachix/install-nix-action@v8
14
+ uses : cachix/install-nix-action@v12
15
15
- name : Build
16
16
run : ' nix-build -I nixpkgs=channel:nixos-unstable --quiet release.nix -A nixops-aws.x86_64-linux --show-trace'
17
17
# Run black v19.10b0 and ensure no diff, using a pinned channel to ensure the
@@ -25,24 +25,30 @@ jobs:
25
25
- name : Checkout
26
26
uses : actions/checkout@v2
27
27
- name : Nix
28
- uses : cachix/install-nix-action@v8
28
+ uses : cachix/install-nix-action@v12
29
29
- name : Black
30
30
run : ' nix-shell ./shell.nix --run "black --check ."'
31
+ env :
32
+ NIX_PATH : " nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"
31
33
flake8 :
32
34
runs-on : ubuntu-latest
33
35
steps :
34
36
- name : Checkout
35
37
uses : actions/checkout@v2
36
38
- name : Nix
37
- uses : cachix/install-nix-action@v8
39
+ uses : cachix/install-nix-action@v12
38
40
- name : Flake8
39
41
run : ' nix-shell ./shell.nix --run "flake8 nixops_aws"'
42
+ env :
43
+ NIX_PATH : " nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"
40
44
mypy :
41
45
runs-on : ubuntu-latest
42
46
steps :
43
47
- name : Checkout
44
48
uses : actions/checkout@v2
45
49
- name : Nix
46
- uses : cachix/install-nix-action@v8
50
+ uses : cachix/install-nix-action@v12
47
51
- name : Mypy
48
52
run : ' nix-shell ./shell.nix --run "mypy nixops_aws"'
53
+ env :
54
+ NIX_PATH : " nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz"
You can’t perform that action at this time.
0 commit comments