Add caching mechanism #12
check-build-and-test.yml
on: pull_request
  
    
      Setup and Cache
    
          
              14s
          
      
    
      Rustfmt Check
    
          
              7s
          
      
    
      Clippy Check
    
          
              41s
          
      
    
      Cargo Build
    
          
              48s
          
      
    
      Test
    
          
              4s
          
      Annotations
10 errors and 3 warnings
          | 
                   
                      
                          Rustfmt Check
                        
                      
                       
                  Process completed with exit code 1. 
                         | 
              
| 
                   
                      
                          Clippy Check
                        
                      
                       
                  Process completed with exit code 101. 
                         | 
              
| 
                   
                      
                          Clippy Check: 
                        src/cache.rs#L99
                      
                       
                  you seem to want to iterate on a map's keys 
                         | 
              
| 
                   
                      
                          Clippy Check: 
                        src/cache.rs#L74
                      
                       
                  file opened with `create`, but `truncate` behavior not defined 
                         | 
              
| 
                   
                      
                          Clippy Check: 
                        src/cache.rs#L51
                      
                       
                  this `if` statement can be collapsed 
                         | 
              
| 
                   
                      
                          Clippy Check: 
                        src/cache.rs#L50
                      
                       
                  this `if` statement can be collapsed 
                         | 
              
| 
                   
                      
                          Clippy Check: 
                        src/utils.rs#L300
                      
                       
                  useless conversion to the same type: `cargo_metadata::camino::Utf8PathBuf` 
                         | 
              
| 
                   
                      
                          Clippy Check: 
                        src/commands/migrate.rs#L118
                      
                       
                  the borrowed expression implements the required traits 
                         | 
              
| 
                   
                      
                          Clippy Check: 
                        src/commands/migrate.rs#L116
                      
                       
                  this `if` statement can be collapsed 
                         | 
              
| 
                   
                      
                          Clippy Check: 
                        src/commands/migrate.rs#L105
                      
                       
                  compiling a regex in a loop 
                         | 
              
| 
                   
                      
                          Setup and Cache
                        
                      
                       
                  Cache not found for keys: v0-rust-setup-Linux-x64-3dfd62ae-5bba731c, v0-rust-setup-Linux-x64-3dfd62ae 
                         | 
              
| 
                   
                      
                          Clippy Check
                        
                      
                       
                  Cache not found for keys: v0-rust-clippy-Linux-x64-3dfd62ae-5bba731c, v0-rust-clippy-Linux-x64-3dfd62ae 
                         | 
              
| 
                   
                      
                          Cargo Build
                        
                      
                       
                  Cache not found for keys: v0-rust-build-Linux-x64-3dfd62ae-5bba731c, v0-rust-build-Linux-x64-3dfd62ae 
                         |