Skip to content

Commit 241bf74

Browse files
authored
Merge pull request #8 from golang-cz/update_webrpc
Update to [email protected]
2 parents 86efe34 + d4ae9c0 commit 241bf74

File tree

6 files changed

+107
-95
lines changed

6 files changed

+107
-95
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release tag
33
on:
44
push:
55
tags:
6-
- '*'
6+
- "*"
77

88
jobs:
99
goreleaser:
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v4
1818
with:
19-
go-version: '1.20'
19+
go-version-file: "go.mod"
2020
- name: Run GoReleaser
2121
uses: goreleaser/goreleaser-action@v4
2222
with:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
test:
1313
strategy:
1414
matrix:
15-
go-version: ["1.20"]
15+
go-version: ["1.22", "1.24"]
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v3
1919
- name: Set up Go
20-
uses: actions/setup-go@v3
20+
uses: actions/setup-go@v4
2121
with:
2222
go-version: ${{ matrix.go-version }}
2323
- name: Unit tests

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -----------------------------------------------------------------
22
# Builder
33
# -----------------------------------------------------------------
4-
FROM golang:1.20-alpine3.16 as builder
4+
FROM golang:1.24-alpine3.21 as builder
55
ARG VERSION
66

77
RUN apk add --update git
@@ -14,7 +14,7 @@ RUN go build -ldflags="-s -w -X main.VERSION=${VERSION}" -o /usr/bin/gospeak ./c
1414
# -----------------------------------------------------------------
1515
# Runner
1616
# -----------------------------------------------------------------
17-
FROM alpine:3.16
17+
FROM alpine:3.21
1818

1919
ENV TZ=UTC
2020

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ GoSpeak uses [webrpc-gen](https://github.com/webrpc/webrpc) tool to generate RES
3030

3131
| Server | | Client |
3232
|----------|---|----------------------------------------------------------------------------------------------------------------------|
33-
| Go 1.20+ | <=> | [Go 1.17+](https://github.com/webrpc/gen-golang) |
34-
| Go 1.20+ | <=> | [TypeScript](https://github.com/webrpc/gen-typescript) |
35-
| Go 1.20+ | <=> | [JavaScript (ES6)](https://github.com/webrpc/gen-javascript) |
36-
| Go 1.20+ | <=> | [OpenAPI 3+](https://github.com/webrpc/gen-openapi) (Swagger documentation) |
37-
| Go 1.20+ | <=> | Any OpenAPI client [code generator](https://github.com/webrpc/gen-openapi#generate-clientdocs-via-openapi-generator) |
33+
| Go 1.22+ | <=> | [Go 1.17+](https://github.com/webrpc/gen-golang) |
34+
| Go 1.22+ | <=> | [TypeScript](https://github.com/webrpc/gen-typescript) |
35+
| Go 1.22+ | <=> | [JavaScript (ES6)](https://github.com/webrpc/gen-javascript) |
36+
| Go 1.22+ | <=> | [OpenAPI 3+](https://github.com/webrpc/gen-openapi) (Swagger documentation) |
37+
| Go 1.22+ | <=> | Any OpenAPI client [code generator](https://github.com/webrpc/gen-openapi#generate-clientdocs-via-openapi-generator) |
3838

3939
# Quick example <!-- omit in toc -->
4040

go.mod

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,60 @@
11
module github.com/golang-cz/gospeak
22

3-
go 1.20
3+
go 1.22.12
4+
5+
toolchain go1.24.0
46

57
require (
68
github.com/davecgh/go-spew v1.1.1
7-
github.com/google/go-cmp v0.6.0
8-
github.com/webrpc/webrpc v0.21.0
9-
golang.org/x/tools v0.21.0
9+
github.com/google/go-cmp v0.7.0
10+
github.com/webrpc/webrpc v0.23.2
11+
golang.org/x/tools v0.30.0
1012
)
1113

1214
require (
13-
dario.cat/mergo v1.0.0 // indirect
15+
dario.cat/mergo v1.0.1 // indirect
1416
github.com/Masterminds/goutils v1.1.1 // indirect
15-
github.com/Masterminds/semver/v3 v3.2.1 // indirect
16-
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
17-
github.com/Microsoft/go-winio v0.6.1 // indirect
18-
github.com/ProtonMail/go-crypto v1.0.0 // indirect
19-
github.com/cloudflare/circl v1.3.7 // indirect
20-
github.com/cyphar/filepath-securejoin v0.2.5 // indirect
17+
github.com/Masterminds/semver/v3 v3.3.1 // indirect
18+
github.com/Masterminds/sprig/v3 v3.3.0 // indirect
19+
github.com/Microsoft/go-winio v0.6.2 // indirect
20+
github.com/ProtonMail/go-crypto v1.1.5 // indirect
21+
github.com/cloudflare/circl v1.6.0 // indirect
22+
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
2123
github.com/emirpasic/gods v1.18.1 // indirect
2224
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
23-
github.com/go-git/go-billy/v5 v5.5.0 // indirect
24-
github.com/go-git/go-git/v5 v5.12.0 // indirect
25+
github.com/go-git/go-billy/v5 v5.6.2 // indirect
26+
github.com/go-git/go-git/v5 v5.13.2 // indirect
2527
github.com/golang-cz/textcase v1.2.1 // indirect
26-
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
28+
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
2729
github.com/google/go-github v17.0.0+incompatible // indirect
2830
github.com/google/go-querystring v1.1.0 // indirect
2931
github.com/google/uuid v1.6.0 // indirect
30-
github.com/huandu/xstrings v1.4.0 // indirect
31-
github.com/imdario/mergo v0.3.16 // indirect
32+
github.com/huandu/xstrings v1.5.0 // indirect
3233
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
3334
github.com/kevinburke/ssh_config v1.2.0 // indirect
3435
github.com/kr/fs v0.1.0 // indirect
3536
github.com/mitchellh/copystructure v1.2.0 // indirect
3637
github.com/mitchellh/reflectwalk v1.0.2 // indirect
37-
github.com/pjbgf/sha1cd v0.3.0 // indirect
38+
github.com/pjbgf/sha1cd v0.3.2 // indirect
3839
github.com/pkg/errors v0.9.1 // indirect
3940
github.com/posener/diff v0.0.1 // indirect
4041
github.com/posener/gitfs v1.2.2 // indirect
4142
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
4243
github.com/shopspring/decimal v1.4.0 // indirect
4344
github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c // indirect
44-
github.com/skeema/knownhosts v1.2.2 // indirect
45-
github.com/spf13/cast v1.6.0 // indirect
45+
github.com/skeema/knownhosts v1.3.1 // indirect
46+
github.com/spf13/cast v1.7.1 // indirect
4647
github.com/webrpc/gen-dart v0.1.1 // indirect
47-
github.com/webrpc/gen-golang v0.16.0 // indirect
48+
github.com/webrpc/gen-golang v0.17.0 // indirect
4849
github.com/webrpc/gen-javascript v0.13.0 // indirect
4950
github.com/webrpc/gen-kotlin v0.1.0 // indirect
5051
github.com/webrpc/gen-openapi v0.15.0 // indirect
51-
github.com/webrpc/gen-typescript v0.15.0 // indirect
52+
github.com/webrpc/gen-typescript v0.16.3 // indirect
5253
github.com/xanzy/ssh-agent v0.3.3 // indirect
53-
golang.org/x/crypto v0.23.0 // indirect
54-
golang.org/x/mod v0.17.0 // indirect
55-
golang.org/x/net v0.25.0 // indirect
56-
golang.org/x/sync v0.7.0 // indirect
57-
golang.org/x/sys v0.20.0 // indirect
54+
golang.org/x/crypto v0.33.0 // indirect
55+
golang.org/x/mod v0.23.0 // indirect
56+
golang.org/x/net v0.35.0 // indirect
57+
golang.org/x/sync v0.11.0 // indirect
58+
golang.org/x/sys v0.30.0 // indirect
5859
gopkg.in/warnings.v0 v0.1.2 // indirect
5960
)

0 commit comments

Comments
 (0)