Skip to content

Commit 734312a

Browse files
committed
chore: upgrade go version and tooling
This adds an optional process-compose file that starts the test database.
1 parent bd8a774 commit 734312a

File tree

3 files changed

+29
-3
lines changed

3 files changed

+29
-3
lines changed

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ babashka 1.3.182
22
binaryen 114
33
circleci 0.1.28811
44
clojure 1.11.1.1386
5-
golang 1.21.1
6-
golangci-lint 1.54.1
5+
golang 1.21.3
6+
golangci-lint 1.55.2
77
java temurin-17.0.5+8
88
nodejs 18.17.0
99
postgres 14.2

play/process-compose.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: "0.5"
2+
3+
environment:
4+
- "PG_USER=postgres"
5+
- "NOCOLOR=1"
6+
log_location: work/run/output.log
7+
log_level: debug
8+
log_configuration:
9+
no_color: true
10+
11+
processes:
12+
Postgres:
13+
command: "pg_ctl -D work/db/ -l work/db/logfile start"
14+
is_daemon: true
15+
shutdown:
16+
command: "pg_ctl -D work/db/ stop"
17+
timeout_seconds: 10 # default 10
18+
signal: 15 # default 15, but only if command is not defined or empty
19+
readiness_probe:
20+
exec:
21+
command: "pg_isready"
22+
initial_delay_seconds: 5
23+
period_seconds: 30
24+
timeout_seconds: 60
25+
success_threshold: 1
26+
failure_threshold: 2

rolling-shutter/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ install-oapi-codegen: ${GOPATH}/bin/oapi-codegen
8484

8585
# non code generation tools
8686
install-golangci-lint:
87-
${GO} install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
87+
${GO} install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2
8888

8989
install-gofumpt:
9090
${GO} install mvdan.cc/gofumpt@latest

0 commit comments

Comments
 (0)