Build with Go 1.23
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
		
							parent
							
								
									cd5214cff5
								
							
						
					
					
						commit
						73dd4d8172
					
				| 
						 | 
				
			
			@ -17,7 +17,7 @@ jobs:
 | 
			
		|||
    - name: Setup Go
 | 
			
		||||
      uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
 | 
			
		||||
      with:
 | 
			
		||||
        go-version-file: 'go.mod'
 | 
			
		||||
        go-version: 1.23.x
 | 
			
		||||
        cache-dependency-path: |
 | 
			
		||||
          **/go.sum
 | 
			
		||||
          **/go.mod
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,7 +34,7 @@ jobs:
 | 
			
		|||
      - name: Setup Go
 | 
			
		||||
        uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
 | 
			
		||||
        with:
 | 
			
		||||
          go-version-file: 'go.mod'
 | 
			
		||||
          go-version: 1.23.x
 | 
			
		||||
          cache-dependency-path: |
 | 
			
		||||
            **/go.sum
 | 
			
		||||
            **/go.mod
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -34,7 +34,7 @@ jobs:
 | 
			
		|||
      - name: Setup Go
 | 
			
		||||
        uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
 | 
			
		||||
        with:
 | 
			
		||||
          go-version-file: 'go.mod'
 | 
			
		||||
          go-version: 1.23.x
 | 
			
		||||
          cache-dependency-path: |
 | 
			
		||||
            **/go.sum
 | 
			
		||||
            **/go.mod
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -24,7 +24,7 @@ If any of the above dependencies are not present on your system, the first invoc
 | 
			
		|||
## How to run the test suite
 | 
			
		||||
 | 
			
		||||
Prerequisites:
 | 
			
		||||
* Go >= 1.20
 | 
			
		||||
* Go >= 1.23
 | 
			
		||||
 | 
			
		||||
You can run the test suite by simply doing
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
ARG GO_VERSION=1.22
 | 
			
		||||
ARG GO_VERSION=1.23
 | 
			
		||||
ARG XX_VERSION=1.4.0
 | 
			
		||||
 | 
			
		||||
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,9 +1,9 @@
 | 
			
		|||
FROM gcr.io/oss-fuzz-base/base-builder-go
 | 
			
		||||
 | 
			
		||||
RUN wget https://go.dev/dl/go1.22.1.linux-amd64.tar.gz \
 | 
			
		||||
RUN wget https://go.dev/dl/go1.23.0.linux-amd64.tar.gz \
 | 
			
		||||
    && mkdir temp-go \
 | 
			
		||||
    && rm -rf /root/.go/* \
 | 
			
		||||
    && tar -C temp-go/ -xzf go1.22.1.linux-amd64.tar.gz \
 | 
			
		||||
    && tar -C temp-go/ -xzf go1.23.0.linux-amd64.tar.gz \
 | 
			
		||||
    && mv temp-go/go/* /root/.go/
 | 
			
		||||
 | 
			
		||||
ENV SRC=$GOPATH/src/github.com/fluxcd/helm-controller
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue