Add support for mongo-driver v2 without breaking 1.x compatibility #1058
ci.yaml
on: pull_request
  
      
        Matrix: test
      
    
    
    
      lint
    
          
              2m 12s
          
      
    
      Check coverage
    
          
              0s
          
      
    
      Release a new version
    
          
              0s
          
      Annotations
5 errors
          | 
                   
                      
                          lint
                        
                      
                       
                  issues found 
                         | 
              
| 
                   
                      
                          lint: 
                        database/mongodb/mongodb_test.go#L414
                      
                       
                  SA1019: result.DecodeBytes is deprecated: Use [SingleResult.Raw] instead. (staticcheck) 
                         | 
              
| 
                   
                      
                          test (1.23.x)
                        
                      
                       
                  Process completed with exit code 2. 
                         | 
              
| 
                   
                      
                          test (1.24.x)
                        
                      
                       
                  The operation was canceled. 
                         | 
              
| 
                   
                      
                          test (1.24.x)
                        
                      
                       
                  The strategy configuration was canceled because "test._1_23_x" failed 
                         |