mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 15:25:14 +00:00
upgrade ci go to 1.21
This commit is contained in:
parent
d55d1e9867
commit
64f67bde7d
2
.github/workflows/go.yml
vendored
2
.github/workflows/go.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
redis-version:
|
redis-version:
|
||||||
- "6.2"
|
- "6.2"
|
||||||
go-version:
|
go-version:
|
||||||
- "1.20"
|
- "1.21"
|
||||||
env:
|
env:
|
||||||
GITHUB_CI: true
|
GITHUB_CI: true
|
||||||
MYSQL_DATABASE: bbgo
|
MYSQL_DATABASE: bbgo
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
||||||
- name: Install Go
|
- name: Install Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: "1.20"
|
go-version: "1.21"
|
||||||
- name: Install Node
|
- name: Install Node
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# First stage container
|
# 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
|
RUN apk add --no-cache git ca-certificates gcc musl-dev libc-dev pkgconfig
|
||||||
# gcc is for github.com/mattn/go-sqlite3
|
# gcc is for github.com/mattn/go-sqlite3
|
||||||
# ADD . $GOPATH/src/github.com/c9s/bbgo
|
# ADD . $GOPATH/src/github.com/c9s/bbgo
|
||||||
|
|
Loading…
Reference in New Issue
Block a user