File tree Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Expand file tree Collapse file tree 1 file changed +63
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test Nix 
2+ 
3+ on :
4+   push :
5+     branches :
6+       - " **" 
7+ 
8+ jobs :
9+   test :
10+     strategy :
11+       fail-fast : false 
12+       matrix :
13+         platform :
14+           - os : darwin 
15+             cpu : x86_64 
16+             base : macos-13  #  always x86_64-darwin
17+             nix-installer :
18+               platform : x86_64-darwin 
19+           - os : darwin 
20+             cpu : arm64 
21+             base : macos-14  #  always arm64-darwin
22+             nix-installer :
23+               platform : aarch64-darwin 
24+           - os : linux 
25+             cpu : x86_64 
26+             base : ubuntu-24.04  #  always x86_64-linux-gnu
27+             nix-installer :
28+               platform : x86_64-linux 
29+           - os : linux 
30+             cpu : aarch64 
31+             base : arm-4core-linux-ubuntu24.04  #  always aarch64-linux-gnu
32+             nix-installer :
33+               platform : aarch64-linux 
34+ 
35+     name : Test Nix (${{ matrix.platform.cpu }}-${{ matrix.platform.os }}) 
36+     runs-on : ${{ matrix.platform.base }} 
37+ 
38+     permissions :
39+       contents : read 
40+       id-token : write 
41+ 
42+     steps :
43+       - name : Check CPU arch 
44+         run : | 
45+           test "$(uname -m)" = "${{ matrix.platform.cpu }}" 
46+        - uses : actions/checkout@v4 
47+         with :
48+           persist-credentials : false 
49+       - uses : DeterminateSystems/nix-installer-action@e50d5f73bfe71c2dd0aa4218de8f4afa59f8f81d 
50+         with :
51+           source-url : https://github.com/DeterminateSystems/nix-installer/releases/download/v0.30.0/nix-installer-${{ matrix.platform.nix-installer.platform }} 
52+       - uses : DeterminateSystems/magic-nix-cache-action@87b14cf437d03d37989d87f0fa5ce4f5dc1a330b 
53+       - name : Print Nix version 
54+         run : | 
55+           nix --version 
56+        - name : Print ruby version 
57+         run : | 
58+           nix develop --command which ruby 
59+           nix develop --command ruby --version 
60+        - name : Bundle install 
61+         run : nix develop --command bundle install 
62+       - name : Run tests 
63+         run : nix develop --command bundle exec rake docker:list 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments