mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-11-04 03:27:23 -05:00 
			
		
		
		
	ci: Build and test on Go 1.16, bump minimum to 1.15 (#4024)
* ci: Build and test on Go 1.16 * ci: Drop Go 1.14 support
This commit is contained in:
		
							parent
							
								
									ec3ac840cf
								
							
						
					
					
						commit
						5376e5113e
					
				
							
								
								
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@ -17,7 +17,7 @@ jobs:
 | 
				
			|||||||
      fail-fast: false
 | 
					      fail-fast: false
 | 
				
			||||||
      matrix:
 | 
					      matrix:
 | 
				
			||||||
        os: [ ubuntu-latest, macos-latest, windows-latest ]
 | 
					        os: [ ubuntu-latest, macos-latest, windows-latest ]
 | 
				
			||||||
        go: [ '1.14', '1.15' ]
 | 
					        go: [ '1.15', '1.16' ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Set some variables per OS, usable via ${{ matrix.VAR }}
 | 
					        # Set some variables per OS, usable via ${{ matrix.VAR }}
 | 
				
			||||||
        # CADDY_BIN_PATH: the path to the compiled Caddy binary, for artifact publishing
 | 
					        # CADDY_BIN_PATH: the path to the compiled Caddy binary, for artifact publishing
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/cross-build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/cross-build.yml
									
									
									
									
										vendored
									
									
								
							@ -14,7 +14,7 @@ jobs:
 | 
				
			|||||||
      fail-fast: false
 | 
					      fail-fast: false
 | 
				
			||||||
      matrix:
 | 
					      matrix:
 | 
				
			||||||
        goos: ['android', 'linux', 'solaris', 'illumos', 'dragonfly', 'freebsd', 'openbsd', 'plan9', 'windows', 'darwin', 'netbsd']
 | 
					        goos: ['android', 'linux', 'solaris', 'illumos', 'dragonfly', 'freebsd', 'openbsd', 'plan9', 'windows', 'darwin', 'netbsd']
 | 
				
			||||||
        go: [ '1.14', '1.15' ]
 | 
					        go: [ '1.15', '1.16' ]
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    continue-on-error: true
 | 
					    continue-on-error: true
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release.yml
									
									
									
									
										vendored
									
									
								
							@ -11,7 +11,7 @@ jobs:
 | 
				
			|||||||
    strategy:
 | 
					    strategy:
 | 
				
			||||||
      matrix:
 | 
					      matrix:
 | 
				
			||||||
        os: [ ubuntu-latest ]
 | 
					        os: [ ubuntu-latest ]
 | 
				
			||||||
        go: [ '1.15' ]
 | 
					        go: [ '1.16' ]
 | 
				
			||||||
    runs-on: ${{ matrix.os }}
 | 
					    runs-on: ${{ matrix.os }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
 | 
				
			|||||||
@ -75,7 +75,7 @@ For other install options, see https://caddyserver.com/docs/download.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Requirements:
 | 
					Requirements:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- [Go 1.14 or newer](https://golang.org/dl/)
 | 
					- [Go 1.15 or newer](https://golang.org/dl/)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### For development
 | 
					### For development
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user