Skip to content

Commit 3c0a3de

Browse files
committed
ci: use go1.19
1 parent ef40e5f commit 3c0a3de

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Go
2222
uses: actions/setup-go@v3
2323
with:
24-
go-version: 1.17
24+
go-version: 1.19
2525

2626
- name: Get Go environment
2727
id: go-env

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
- macos-latest
2121
- windows-latest
2222
go:
23-
- 1.17
23+
- 1.19
2424
include:
2525
- arch: 386
2626
runner: ubuntu-latest
27-
go: 1.17
27+
go: 1.19
2828
- arch: amd64
2929
runner: ubuntu-latest
3030
flags: "-race"
31-
go: 1.17
31+
go: 1.19
3232
steps:
3333
- name: Checkout code
3434
uses: actions/checkout@v3

dl/dl.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ func (c *Client) download(ctx context.Context, layer int, key string) ([]byte, e
119119
//
120120
// Pass "NoLayer" as layer to use default documentation.
121121
// Examples for "key" value:
122-
// * "schema" for index of documentation
123-
// * "constructor/inputMediaGeoLive" for constructor "inputMediaGeoLive"
124-
// * "type/InputMedia" for class "InputMedia"
125-
// * "method/messages.addChatUser" for "messages.addChatUser" method
122+
// - "schema" for index of documentation
123+
// - "constructor/inputMediaGeoLive" for constructor "inputMediaGeoLive"
124+
// - "type/InputMedia" for class "InputMedia"
125+
// - "method/messages.addChatUser" for "messages.addChatUser" method
126126
//
127127
// Blank key is invalid.
128128
func (c *Client) Get(ctx context.Context, layer int, key string) ([]byte, error) {

0 commit comments

Comments
 (0)