File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1- #  https://nix.dev/tutorials/continuous-integration-github-actions
21name : " Test nix-shell" 
32on :
4-   push :
5-     branches :
6-     - ' **' 
7-     paths-ignore : [] 
8-   pull_request :
9-     paths-ignore : [] 
10- 
3+   - push 
4+   - pull_request 
115jobs :
126  nix-shell :
137    runs-on : ubuntu-latest 
1610    - uses : cachix/install-nix-action@v16 
1711      with :
1812        nix_path : nixpkgs=channel:nixos-21.11 
13+         extra_nix_config : | 
14+           trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= 
15+           substituters = https://hydra.iohk.io https://cache.nixos.org/ 
16+ uses : cachix/cachix-action@v10 
17+       with :
18+         #  https://nix.dev/tutorials/continuous-integration-github-actions#setting-up-github-actions
19+         name : hackage-server 
20+         authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}' 
1921    - run : nix-shell --pure --run "cabal update && cabal build all --enable-tests" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments