@ -22,7 +22,7 @@ jobs:
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				   test: 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     strategy: 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       matrix: 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         go-version :   [ 1.19 .x, 1.20. 0-rc.3 ]
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         go-version :   [ 1.19 .x, 1.20. x ]
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         # TODO: revert to macos-latest once we figure out https://github.com/burrowers/garble/issues/609. 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         os :   [ ubuntu-latest, macos-11, windows-latest] 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     runs-on :   ${{ matrix.os }} 
 
			
		 
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
			
			 
			 
			
				@ -47,20 +47,20 @@ jobs:
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     # Static checks from this point forward. Only run on one Go version and on 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     # Linux, since it's the fastest platform, and the tools behave the same. 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - name :   Test third-party project builds 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       if :   matrix.os == 'ubuntu-latest' && matrix.go-version == '1. 19 .x'
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       if :   matrix.os == 'ubuntu-latest' && matrix.go-version == '1. 20 .x'
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       run :   | 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         go install 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         ./scripts/check-third-party.sh 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - if :   matrix.os == 'ubuntu-latest' && matrix.go-version == '1. 19 .x'
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - if :   matrix.os == 'ubuntu-latest' && matrix.go-version == '1. 20 .x'
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       run :   ./scripts/crlf-test.sh 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - if :   matrix.os == 'ubuntu-latest' && matrix.go-version == '1. 19 .x'
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - if :   matrix.os == 'ubuntu-latest' && matrix.go-version == '1. 20 .x'
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       run :   diff <(echo -n) <(gofmt -d .) 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - if :   matrix.os == 'ubuntu-latest' && matrix.go-version == '1. 19 .x'
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - if :   matrix.os == 'ubuntu-latest' && matrix.go-version == '1. 20 .x'
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       run :   go vet ./... 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - if :   matrix.os == 'ubuntu-latest' && matrix.go-version == '1. 19 .x'
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - if :   matrix.os == 'ubuntu-latest' && matrix.go-version == '1. 20 .x'
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       uses :   dominikh/staticcheck-action@v1 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       with: 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         version :   "202 2.1.3 "
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         version :   "202 3.1 "
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         install-go :   false 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				   # We don't care about GOARCH=386 particularly, 
 
			
		 
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
			
			 
			 
			
				@ -74,18 +74,17 @@ jobs:
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     steps: 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - uses :   actions/setup-go@v3 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       with: 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         go-version :   1. 19 .x 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         go-version :   1. 20 .x 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - uses :   actions/checkout@v3 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - name :   Test 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       run :   go test -timeout=15m ./... 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				   test-gotip: 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     if :   false   # let tip for 1.21 settle a bit 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     runs-on :   ubuntu-latest 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     steps: 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				     - name :   Install Go 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       env: 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         GO_COMMIT :   cb07765045aed5104a3df31507564ac99e6ddce8  # 2022-12-13  
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         GO_COMMIT :   6d4de4e386cd9e4ec32937ab2d4f79317db461cd  # 2023-01-31  
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				       run :   | 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         cd $HOME 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         mkdir $HOME/gotip 
 
			
		 
		
	
	
		
			
				
					
						
						
						
							
								 
							 
						
					 
				
			
			 
			 
			
				@ -93,7 +92,7 @@ jobs:
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         wget -O gotip.tar.gz https://go.googlesource.com/go/+archive/${GO_COMMIT}.tar.gz 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         tar -xf gotip.tar.gz 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         echo "devel go1.2 0 -${GO_COMMIT}" >VERSION
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         echo "devel go1.2 1 -${GO_COMMIT}" >VERSION
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         cd src 
 
			
		 
		
	
		
			
				 
				 
			
			 
			 
			
				         ./make.bash