File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -76,13 +76,18 @@ jobs:
7676 cd deploy/cloud/operator
7777 docker build --target tester --progress=plain --build-arg DOCKER_PROXY=${ECR_HOSTNAME}/dockerhub/ .
7878
79+ - name : Set up Go
80+ uses : actions/setup-go@v5
81+ with :
82+ go-version : ' 1.24'
7983 - name : Check for uncommitted changes
8084 shell : bash
8185 env :
8286 ECR_HOSTNAME : ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_DEFAULT_REGION }}.amazonaws.com
8387 run : |
88+ sudo apt-get update && sudo apt-get install -y make
8489 cd deploy/cloud/operator
85- docker build --target checker --progress=plain --build-arg DOCKER_PROXY=${ECR_HOSTNAME}/dockerhub/ .
90+ make check
8691 - name : Build Container
8792 id : build-image
8893 shell : bash
Original file line number Diff line number Diff line change @@ -43,16 +43,7 @@ RUN apt-get update && apt-get install -y make && apt-get clean && rm -rf /var/li
4343# Run tests using Makefile
4444RUN make test
4545
46- # Check stage
47- FROM base AS checker
48-
49- # Install make if not present
50- RUN apt-get update && apt-get install -y make && apt-get clean && rm -rf /var/lib/apt/lists/*
51-
52- # Run check using Makefile
53- RUN make check
54-
55- # Build stage - depends on successful lint, test and check
46+ # Build stage - depends on successful lint and test
5647FROM base AS builder
5748
5849# Build the binary
You can’t perform that action at this time.
0 commit comments