Skip to content

Commit a6a34c1

Browse files
authored
Merge pull request #505 from damongolding/chore/go-bump
deps
2 parents eae1816 + 9698a55 commit a6a34c1

File tree

7 files changed

+38
-23
lines changed

7 files changed

+38
-23
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
1717
RUN pnpm css && pnpm js
1818

1919
# Go Builder
20-
FROM --platform=$BUILDPLATFORM golang:1.24.4-alpine AS build
20+
FROM --platform=$BUILDPLATFORM golang:1.24.6-alpine AS build
2121

2222
ARG VERSION=demo
2323
ARG TARGETOS

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.1.1/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.1.3/schema.json",
33
"formatter": {
44
"enabled": true,
55
"indentStyle": "space",

frontend/biome.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.1.1/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.1.3/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",
6-
"useIgnoreFile": true
6+
"useIgnoreFile": false
77
},
88
"files": {
99
"ignoreUnknown": true,

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"postcss": "^8.5.6",
2828
"postcss-cli": "^11.0.1",
2929
"postcss-nested": "^7.0.2",
30-
"typescript": "^5.8.3"
30+
"typescript": "^5.9.2"
3131
},
3232
"browserslist": [
3333
"> 0.2%",

frontend/pnpm-lock.yaml

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/damongolding/immich-kiosk
22

3-
go 1.24.4
3+
go 1.24.6
44

55
require (
66
github.com/EdlinOrg/prominentcolor v1.0.0

taskfile.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,21 @@ tasks:
6363
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.5
6464
- go mod tidy
6565

66+
update-go:
67+
desc: Sync local Go version with go.mod and Dockerfile
68+
cmds:
69+
- |
70+
GO_VERSION_FULL=$(go version | awk '{print $3}' | sed 's/go//')
71+
echo "📦 Updating go.mod to use Go $GO_VERSION_FULL"
72+
go mod edit -go=$GO_VERSION_FULL
73+
74+
echo "🛠️ Updating Dockerfile to use Go $GO_VERSION_FULL"
75+
sed -i.bak -E "s|golang:[0-9]+\.[0-9]+(\.[0-9]+)?-[[:alnum:]-]+|golang:${GO_VERSION_FULL}-alpine|g" Dockerfile
76+
77+
echo "--- Dockerfile diff ---"
78+
diff Dockerfile.bak Dockerfile || true
79+
rm Dockerfile.bak
80+
6681
outdated-go:
6782
desc: Check for outdated Go dependencies
6883
cmds:

0 commit comments

Comments
 (0)