Skip to content

Commit 47cfa54

Browse files
committed
chore: bump go version
1 parent 03aed02 commit 47cfa54

File tree

4 files changed

+7
-14
lines changed

4 files changed

+7
-14
lines changed

.golangci.yml

+1-12
Original file line numberDiff line numberDiff line change
@@ -12,46 +12,35 @@ linters:
1212
enable:
1313
- asciicheck
1414
- bodyclose
15-
- deadcode
15+
- copyloopvar
1616
- errcheck
17-
- exportloopref
1817
- goconst
1918
- gofmt
2019
- goimports
2120
- gosec
2221
- gosimple
2322
- govet
2423
- ineffassign
25-
- megacheck
2624
- misspell
2725
- nolintlint
2826
- prealloc
2927
- predeclared
3028
- revive
3129
- staticcheck
32-
- structcheck
3330
- stylecheck
3431
- typecheck
3532
- unconvert
3633
- unparam
3734
- unused
38-
- varcheck
3935
- wastedassign
4036
- whitespace
4137

4238
disable:
43-
- maligned
44-
4539
# cosmetic
4640
- lll
4741
- gochecknoglobals
4842
- gochecknoinits
4943

50-
linters-settings:
51-
maligned:
52-
# print struct with more effective memory layout or not, false by default
53-
suggest-new: true
54-
5544
issues:
5645
# only reports issues that have been introduced in commits ahead of origin/master
5746
new-from-rev: origin/master

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ COPY ./ui /home/node/ui
66
WORKDIR /home/node/ui/dashboard
77
RUN BASEHREF=___UTASK_DASHBOARD_BASEHREF___ PREFIX_API_BASE_URL=___UTASK_DASHBOARD_PREFIXAPIBASEURL___ SENTRY_DSN=___UTASK_DASHBOARD_SENTRY_DSN___ make build-prod
88

9-
FROM golang:1.22
9+
FROM golang:1.23
1010

1111
COPY . /go/src/github.com/ovh/utask
1212
WORKDIR /go/src/github.com/ovh/utask

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ re: clean all
5252
release:
5353
bash hack/generate-install-script.sh
5454

55+
utask-lib:
56+
cd ui/dashboard/projects/utask-lib && npm version $(VERSION) --allow-same-version
57+
cd ui/dashboard && npm ci && ng build --configuration production utask-lib
58+
5559
release-utask-lib:
5660
cd ui/dashboard/projects/utask-lib && npm version $(VERSION) --allow-same-version
5761
cd ui/dashboard && npm ci && ng build --configuration production utask-lib

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/ovh/utask
22

3-
go 1.22
3+
go 1.23
44

55
require (
66
github.com/Masterminds/sprig/v3 v3.2.3

0 commit comments

Comments
 (0)