更新各种go版本

This commit is contained in:
Weidi Deng 2022-10-09 11:00:18 +08:00
parent aa02d9001b
commit 403e00706d
5 changed files with 7 additions and 7 deletions

View file

@ -7,10 +7,10 @@ jobs:
name: Build
runs-on: ubuntu-18.04
steps:
- name: Set up Go 1.17
- name: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: "1.17"
go-version: "1.18"
id: go
- name: Check out code into the Go module directory

View file

@ -12,10 +12,10 @@ jobs:
name: Test
runs-on: ubuntu-18.04
steps:
- name: Set up Go 1.17
- name: Set up Go 1.18
uses: actions/setup-go@v2
with:
go-version: "1.17"
go-version: "1.18"
id: go
- name: Check out code into the Go module directory

View file

@ -1,6 +1,6 @@
language: go
go:
- 1.17.x
- 1.18.x
node_js: "12.16.3"
git:
depth: 1

View file

@ -1,4 +1,4 @@
FROM golang:1.17-alpine as cloudreve_builder
FROM golang:1.18-alpine as cloudreve_builder
# install dependencies and build tools

View file

@ -71,7 +71,7 @@ chmod +x ./cloudreve
## :gear: 构建
自行构建前需要拥有 `Go >= 1.17`、`node.js``yarn``zip` 等必要依赖。
自行构建前需要拥有 `Go >= 1.18`、`node.js``yarn``zip` 等必要依赖。
#### 克隆代码