Skip to content

Commit 2d44352

Browse files
committed
Upgrade dependencies
1 parent 3c2d236 commit 2d44352

4 files changed

Lines changed: 17 additions & 14 deletions

File tree

.github/workflows/golangci-lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/image.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22-bookworm AS builder
1+
FROM golang:1.25.1-trixie AS builder
22

33
WORKDIR /app
44

@@ -11,7 +11,7 @@ COPY pgbroker/ ./pgbroker/
1111
RUN go build -o /pgfilterproxy
1212

1313

14-
FROM debian:bookworm-slim
14+
FROM debian:trixie-slim
1515

1616
COPY --from=builder /pgfilterproxy /pgfilterproxy
1717

go.mod

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
module github.com/debfx/pgfilterproxy
22

3-
go 1.15
3+
go 1.23.0
44

55
require (
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+
1316
replace github.com/rueian/pgbroker => ./pgbroker

0 commit comments

Comments
 (0)