File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -56,17 +56,21 @@ jobs:
5656    runs-on : ubuntu-latest 
5757    steps :
5858      - uses : actions/checkout@v5 
59+       - uses : astral-sh/setup-uv@v6 
60+         with :
61+           version : " 0.9.3" 
62+           enable-cache : true 
5963      - name : Install tools 
6064        run : | 
61-           pip  install ruff 
65+           uv tool  install ruff 
6266name : Check format 
6367        working-directory : " bindings/python" 
6468        run : | 
65-           ruff format . --diff 
69+           uvx  ruff format . --diff 
6670name : Check style 
6771        working-directory : " bindings/python" 
6872        run : | 
69-           ruff check . 
73+           uvx  ruff check . 
7074
7175test :
7276    runs-on : ${{ matrix.os }} 
@@ -86,10 +90,10 @@ jobs:
8690          working-directory : " bindings/python" 
8791          command : build 
8892          args : --out dist --sdist 
89-       - name :  Install uv 
90-         shell :  bash 
91-         run :  | 
92-           python -m pip install uv==0.9.3  
93+       - uses :  astral-sh/setup-uv@v6 
94+         with : 
95+            version :  " 0.9.3 " 
96+           enable-cache :  true 
9397      - name : Sync dependencies 
9498        working-directory : " bindings/python" 
9599        shell : bash 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments