Skip to content

Commit d4ae9c0

Browse files
committed
Update to Go 1.22+
1 parent 191390e commit d4ae9c0

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
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

0 commit comments

Comments
 (0)