Skip to content

Commit f894a8d

Browse files
authored
Codeql adhere to1.n.p syntax fixes (#4250)
* Update for 1.N.P Syntax
1 parent 2a4556c commit f894a8d

6 files changed

+7
-7
lines changed

.golangci.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
timeout: 5m
3-
go: '1.23'
3+
go: '1.23.2'
44

55
linters:
66
disable-all: true
@@ -83,7 +83,7 @@ linters-settings:
8383
- performance
8484
- style
8585
gofumpt:
86-
lang-version: "1.23"
86+
lang-version: "1.23.2"
8787
extra-rules: true
8888
lll:
8989
line-length: 150

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ proto: ## Generate protobuf files
141141
# Sometimes we get whitespace differences when running this on linux vs mac
142142
# So here's how you can do it under linux, on mac
143143
proto-linux:
144-
docker run --rm -v "$(CURRENT_DIR):/app" -w /app golang:1.20 make proto
144+
docker run --rm -v "$(CURRENT_DIR):/app" -w /app golang:1.23.2 make proto
145145

146146
##@ Docker
147147
_docker:

gitops-bucket-server.dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Go build
2-
FROM golang:1.23@sha256:574185e5c6b9d09873f455a7c205ea0514bfd99738c5dc7750196403a44ed4b7 AS go-build
2+
FROM golang:1.23.2@sha256:ad5c126b5cf501a8caef751a243bb717ec204ab1aa56dc41dc11be089fafcb4f AS go-build
33

44
# Add known_hosts entries for GitHub and GitLab
55
RUN mkdir ~/.ssh

gitops-server.dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COPY --chown=node:node ui /home/app/ui
1515
RUN --mount=type=cache,target=/home/app/ui/.parcel-cache make ui
1616

1717
# Go build
18-
FROM golang:1.23@sha256:574185e5c6b9d09873f455a7c205ea0514bfd99738c5dc7750196403a44ed4b7 AS go-build
18+
FROM golang:1.23.2@sha256:ad5c126b5cf501a8caef751a243bb717ec204ab1aa56dc41dc11be089fafcb4f AS go-build
1919

2020
# Add known_hosts entries for GitHub and GitLab
2121
RUN mkdir ~/.ssh

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/weaveworks/weave-gitops
22

3-
go 1.23
3+
go 1.23.2
44

55
require (
66
github.com/Masterminds/semver/v3 v3.2.1

test/library/libtest.dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.23@sha256:574185e5c6b9d09873f455a7c205ea0514bfd99738c5dc7750196403a44ed4b7
1+
FROM golang:1.23.2@sha256:ad5c126b5cf501a8caef751a243bb717ec204ab1aa56dc41dc11be089fafcb4f
22
RUN apt-get update
33
RUN apt-get -y install curl gnupg
44
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -

0 commit comments

Comments
 (0)