Skip to content

Commit d89d223

Browse files
committed
sort tech stack
1 parent 1faaa09 commit d89d223

25 files changed

Lines changed: 959 additions & 1061 deletions

.github/workflows/nodejs.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
name: test
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v4
8+
- uses: arduino/setup-task@v2
9+
- run: task test

Taskfile.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
version: '3'
2+
3+
tasks:
4+
default:
5+
desc: Start dev environment (backend + frontend)
6+
deps:
7+
- dev:backend
8+
- dev:frontend
9+
10+
dev:backend:
11+
cmd: docker compose up --build
12+
13+
dev:frontend:
14+
dir: frontend
15+
cmd: npm run dev
16+
17+
test:
18+
desc: Run all tests
19+
deps:
20+
- test:backend
21+
- test:frontend
22+
23+
test:backend:
24+
cmd: docker compose run --build --rm pict_api go test ./...
25+
26+
test:frontend:
27+
dir: frontend
28+
cmd: npm run build

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
###############################
44

55
### pict ###
6-
FROM golang:1.25-trixie AS target_for_development
6+
FROM golang:1.26-trixie AS target_for_development
77

88
RUN apt update
99
RUN apt -y install clang

backend/go.mod

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,45 @@
11
module example.com/m/v2
22

3-
go 1.25.5
3+
go 1.26.2
44

55
require (
6-
github.com/gin-contrib/cors v1.7.6
7-
github.com/gin-contrib/gzip v1.2.5
8-
github.com/gin-gonic/gin v1.11.0
6+
github.com/gin-contrib/cors v1.7.7
7+
github.com/gin-contrib/gzip v1.2.6
8+
github.com/gin-gonic/gin v1.12.0
99
github.com/stretchr/testify v1.11.1
1010
)
1111

1212
require (
13-
github.com/bytedance/gopkg v0.1.3 // indirect
14-
github.com/bytedance/sonic v1.14.2 // indirect
15-
github.com/bytedance/sonic/loader v0.4.0 // indirect
16-
github.com/cloudwego/base64x v0.1.6 // indirect
17-
github.com/cloudwego/iasm v0.2.0 // indirect
13+
github.com/bytedance/gopkg v0.1.4 // indirect
14+
github.com/bytedance/sonic v1.15.1 // indirect
15+
github.com/bytedance/sonic/loader v0.5.1 // indirect
16+
github.com/cloudwego/base64x v0.1.7 // indirect
1817
github.com/davecgh/go-spew v1.1.1 // indirect
19-
github.com/gabriel-vasile/mimetype v1.4.12 // indirect
20-
github.com/gin-contrib/sse v1.1.0 // indirect
18+
github.com/gabriel-vasile/mimetype v1.4.13 // indirect
19+
github.com/gin-contrib/sse v1.1.1 // indirect
2120
github.com/go-playground/locales v0.14.1 // indirect
2221
github.com/go-playground/universal-translator v0.18.1 // indirect
23-
github.com/go-playground/validator/v10 v10.30.1 // indirect
24-
github.com/goccy/go-json v0.10.5 // indirect
25-
github.com/goccy/go-yaml v1.19.1 // indirect
22+
github.com/go-playground/validator/v10 v10.30.2 // indirect
23+
github.com/goccy/go-json v0.10.6 // indirect
24+
github.com/goccy/go-yaml v1.19.2 // indirect
2625
github.com/json-iterator/go v1.1.12 // indirect
2726
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
28-
github.com/kr/text v0.2.0 // indirect
2927
github.com/leodido/go-urn v1.4.0 // indirect
30-
github.com/mattn/go-isatty v0.0.20 // indirect
28+
github.com/mattn/go-isatty v0.0.22 // indirect
3129
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3230
github.com/modern-go/reflect2 v1.0.2 // indirect
33-
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
31+
github.com/pelletier/go-toml/v2 v2.3.0 // indirect
3432
github.com/pmezard/go-difflib v1.0.0 // indirect
3533
github.com/quic-go/qpack v0.6.0 // indirect
36-
github.com/quic-go/quic-go v0.58.0 // indirect
34+
github.com/quic-go/quic-go v0.59.0 // indirect
3735
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
3836
github.com/ugorji/go/codec v1.3.1 // indirect
39-
golang.org/x/arch v0.23.0 // indirect
40-
golang.org/x/crypto v0.46.0 // indirect
41-
golang.org/x/mod v0.31.0 // indirect
42-
golang.org/x/net v0.48.0 // indirect
43-
golang.org/x/sync v0.19.0 // indirect
44-
golang.org/x/sys v0.39.0 // indirect
45-
golang.org/x/text v0.32.0 // indirect
46-
golang.org/x/tools v0.40.0 // indirect
37+
go.mongodb.org/mongo-driver/v2 v2.6.0 // indirect
38+
golang.org/x/arch v0.26.0 // indirect
39+
golang.org/x/crypto v0.50.0 // indirect
40+
golang.org/x/net v0.53.0 // indirect
41+
golang.org/x/sys v0.43.0 // indirect
42+
golang.org/x/text v0.36.0 // indirect
4743
google.golang.org/protobuf v1.36.11 // indirect
4844
gopkg.in/yaml.v3 v3.0.1 // indirect
4945
)

0 commit comments

Comments
 (0)