mirror of
				https://github.com/coredns/coredns.git
				synced 2025-10-31 02:03:20 -04:00 
			
		
		
		
	ci(test-e2e): add Go version setup to workflow (#7309)
Add environment variable setup step for Go version in the e2e tests job of the GitHub workflow. This ensures consistent Go version usage across all test jobs and fixes the warning about missing go-version input. Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
This commit is contained in:
		
							
								
								
									
										3
									
								
								.github/workflows/go.test.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/workflows/go.test.yml
									
									
									
									
										vendored
									
									
								
							| @@ -58,6 +58,9 @@ jobs: | |||||||
|       - name: Check out code |       - name: Check out code | ||||||
|         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683  # v4.2.2 |         uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683  # v4.2.2 | ||||||
|  |  | ||||||
|  |       - name: Setup Go Version | ||||||
|  |         run: echo "GO_VERSION=$(cat .go-version)" >> $GITHUB_ENV | ||||||
|  |  | ||||||
|       - name: Install Go |       - name: Install Go | ||||||
|         uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5  # v5.5.0 |         uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5  # v5.5.0 | ||||||
|         with: |         with: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user