ci: upgrade Go and some actions version #347
Annotations
10 errors and 2 warnings
lint:
modules/video/dao/video.go#L90
string `https://storage.example.com/videos/` has 3 occurrences, make it a constant (goconst)
|
lint:
pkg/otelkit/prometheus.go#L133
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
lint:
cmd/video/gateway.go#L82
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
lint:
cmd/comment/gateway.go#L74
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
lint:
pkg/grpckit/client_conn.go#L7
import 'github.com/NTHU-LSALAB/NTHU-Distributed-System/pkg/logkit' is not allowed from list 'Main' (depguard)
|
lint:
cmd/comment/api.go#L8
import 'github.com/NTHU-LSALAB/NTHU-Distributed-System/modules/comment/dao' is not allowed from list 'Main' (depguard)
|
lint:
cmd/comment/api.go#L9
import 'github.com/NTHU-LSALAB/NTHU-Distributed-System/modules/comment/pb' is not allowed from list 'Main' (depguard)
|
lint:
cmd/comment/api.go#L10
import 'github.com/NTHU-LSALAB/NTHU-Distributed-System/modules/comment/service' is not allowed from list 'Main' (depguard)
|
lint:
cmd/comment/api.go#L11
import 'github.com/NTHU-LSALAB/NTHU-Distributed-System/modules/video/pb' is not allowed from list 'Main' (depguard)
|
lint:
cmd/comment/api.go#L12
import 'github.com/NTHU-LSALAB/NTHU-Distributed-System/pkg/grpckit' is not allowed from list 'Main' (depguard)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|