Add VersionChecker to detect and warn about newer Bicep CLI installations #43079
build.yml
on: pull_request
  
      
        Matrix: build-cli
      
    
    
    
      Build: VSCode Extension
    
          
              3m 39s
          
      
    
      Check secret access
    
          
              2s
          
      
      
        Matrix: test-dotnet
      
    
    
    
      Build NuGet Packages
    
          
              1m 59s
          
      
    
      Build Visual Studio Extension
    
          
              10m 47s
          
      
    
      Build Playground
    
          
              3m 39s
          
      
    
      Build Highlight Libraries
    
          
              5m 22s
          
      
    
      Build Windows Setup
    
          
              1m 19s
          
      
      
        Matrix: test-cli-e2e
      
    
    
    
      PR Comment: Preview Links
    
          
              5s
          
      
      
        Matrix: Test: VSCode Bicep UI
      
    
    
      
        Matrix: Test: VSCode Extension
      
    
    
      
        Matrix: test-cli-live-linux-musl-x64
      
    
    
      
        Matrix: test-cli-live
      
    
    
    
      PR Comment: Dotnet Tests Summary
    
          
              24s
          
      
      
        Matrix: build-cli-nugets
      
    
    Annotations
6 errors
          | 
                   
                      
                          Test CLI (e2e) (linux-x64)
                        
                      
                       
                  Process completed with exit code 1. 
                         | 
              
| 
                   
                      
                          src/local/jsonrpc.test.ts > bicep jsonrpc: 
                        src/Bicep.Cli.E2eTests/src/local/jsonrpc.test.ts#L24
                      
                       
                  TypeError: Cannot read properties of undefined (reading 'dispose')
 ❯ src/local/jsonrpc.test.ts:24:29
 
                         | 
              
| 
                   
                      
                          src/local/jsonrpc.test.ts > bicep jsonrpc: 
                        src/Bicep.Cli.E2eTests/src/local/jsonrpc.test.ts#L22
                      
                       
                  Error: Hook timed out in 10000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
 ❯ src/local/jsonrpc.test.ts:22:3
 
                         | 
              
| 
                   
                      
                          Test CLI (e2e) (win-x64)
                        
                      
                       
                  Process completed with exit code 1. 
                         | 
              
| 
                   
                      
                          src/local/jsonrpc.test.ts > bicep jsonrpc: 
                        src/Bicep.Cli.E2eTests/src/local/jsonrpc.test.ts#L24
                      
                       
                  TypeError: Cannot read properties of undefined (reading 'dispose')
 ❯ src/local/jsonrpc.test.ts:24:29
 
                         | 
              
| 
                   
                      
                          src/local/jsonrpc.test.ts > bicep jsonrpc: 
                        src/Bicep.Cli.E2eTests/src/local/jsonrpc.test.ts#L22
                      
                       
                  Error: Hook timed out in 10000ms.
If this is a long-running hook, pass a timeout value as the last argument or configure it globally with "hookTimeout".
 ❯ src/local/jsonrpc.test.ts:22:3
 
                         |