File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,14 +10,14 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Setup Go
13- uses : actions/setup-go@v3
13+ uses : actions/setup-go@v6
1414 with :
15- go-version : 1.19
15+ go-version : " ^1.23 "
1616
1717 - name : Checkout repository
18- uses : actions/checkout@v3
18+ uses : actions/checkout@v5
1919
2020 - name : golangci-lint
21- uses : golangci/golangci-lint-action@v3
21+ uses : golangci/golangci-lint-action@v8
2222 with :
23- version : v1.50 .0
23+ version : v2.5 .0
Original file line number Diff line number Diff line change @@ -20,23 +20,23 @@ jobs:
2020
2121 steps :
2222 - name : Checkout repository
23- uses : actions/checkout@v3
23+ uses : actions/checkout@v5
2424
2525 - name : Log in to the container registry
26- uses : docker/login-action@v2
26+ uses : docker/login-action@v3
2727 with :
2828 registry : ${{ env.REGISTRY }}
2929 username : ${{ github.actor }}
3030 password : ${{ secrets.GITHUB_TOKEN }}
3131
3232 - name : Extract metadata (tags, labels) for Docker
3333 id : meta
34- uses : docker/metadata-action@v4
34+ uses : docker/metadata-action@v5
3535 with :
3636 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
3737
3838 - name : Build and push Docker image
39- uses : docker/build-push-action@v3
39+ uses : docker/build-push-action@v6
4040 with :
4141 context : .
4242 push : true
Original file line number Diff line number Diff line change 1- FROM golang:1.22-bookworm AS builder
1+ FROM golang:1.25.1-trixie AS builder
22
33WORKDIR /app
44
@@ -11,7 +11,7 @@ COPY pgbroker/ ./pgbroker/
1111RUN go build -o /pgfilterproxy
1212
1313
14- FROM debian:bookworm -slim
14+ FROM debian:trixie -slim
1515
1616COPY --from=builder /pgfilterproxy /pgfilterproxy
1717
Original file line number Diff line number Diff line change 11module github.com/debfx/pgfilterproxy
22
3- go 1.15
3+ go 1.23.0
44
55require (
6- github.com/golang/protobuf v1.5.2 // indirect
76 github.com/pganalyze/pg_query_go/v2 v2.1.2
87 github.com/rueian/pgbroker v0.0.18
9- google.golang.org/protobuf v1.33.0 // indirect
108 gopkg.in/yaml.v2 v2.4.0
119)
1210
11+ require (
12+ github.com/golang/protobuf v1.5.2 // indirect
13+ google.golang.org/protobuf v1.33.0 // indirect
14+ )
15+
1316replace github.com/rueian/pgbroker => ./pgbroker
You can’t perform that action at this time.
0 commit comments