upgrade ci go to 1.21

This commit is contained in:
c9s 2024-04-01 15:54:49 +08:00
parent d55d1e9867
commit 64f67bde7d
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ jobs:
redis-version:
- "6.2"
go-version:
- "1.20"
- "1.21"
env:
GITHUB_CI: true
MYSQL_DATABASE: bbgo

View File

@ -20,7 +20,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.21"
- name: Install Node
uses: actions/setup-node@v2
with:

View File

@ -1,5 +1,5 @@
# First stage container
FROM golang:1.20-alpine3.18 AS builder
FROM golang:1.21-alpine3.18 AS builder
RUN apk add --no-cache git ca-certificates gcc musl-dev libc-dev pkgconfig
# gcc is for github.com/mattn/go-sqlite3
# ADD . $GOPATH/src/github.com/c9s/bbgo