File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : " cachix-action test"
22on :
33 pull_request :
4- push :
4+ push :
55 branches :
66 - master
77
4242 - run : nix-build test.nix
4343
4444 private-cache :
45+ if : ${{ github.ref == 'refs/heads/master' }}
4546 strategy :
4647 matrix :
4748 os : [ubuntu-latest, macos-latest]
7677 signingKey : ' ${{ secrets.CACHIX_SIGNING_KEY }}'
7778 installCommand : ' nix-env -j8 -f https://cachix.org/api/v1/install -iA cachix'
7879 - run : nix-build test.nix
80+
81+ nix-master :
82+ strategy :
83+ matrix :
84+ os : [ubuntu-latest, macos-latest]
85+ runs-on : ${{ matrix.os }}
86+ steps :
87+ - uses : actions/checkout@v2
88+ - name : Install Nix
89+ uses : cachix/install-nix-action@v13
90+ with :
91+ nix_path : nixpkgs=channel:nixos-20.03
92+ install_url : https://nixos-nix-install-tests.cachix.org/serve/lb41az54kzk6j12p81br4bczary7m145/install
93+ install_options : ' --tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
94+ - run : yarn install --frozen-lockfile
95+ - run : yarn build
96+ - name : Test public cache
97+ uses : ./
98+ with :
99+ name : cachix-action
100+ signingKey : ' ${{ secrets.CACHIX_SIGNING_KEY }}'
101+ - run : nix-build test.nix
Original file line number Diff line number Diff line change @@ -12,6 +12,10 @@ for file in /nix/store/*; do
1212 # Skip .check file produced by --keep-failed
1313 continue
1414 ;;
15+ * .lock)
16+ # Skip .lock files
17+ continue
18+ ;;
1519 * )
1620 echo " $file "
1721 ;;
You can’t perform that action at this time.
0 commit comments