build: change golang version

pull/2046/head v3.2.0
Noah Hsu 2022-10-12 17:35:44 +08:00
parent 55aa8ee3b1
commit 549355bb29
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest]
go-version: [1.18]
go-version: [1.19]
name: Build
runs-on: ${{ matrix.platform }}
steps:

View File

@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest]
go-version: [1.18]
go-version: [1.19]
name: Release
runs-on: ${{ matrix.platform }}
steps:

View File

@ -7,7 +7,7 @@
Prerequisites:
- [git](https://nodejs.org/zh-cn/)
- [Go 1.18+](https://golang.org/doc/install)
- [Go 1.19+](https://golang.org/doc/install)
- [gcc](https://gcc.gnu.org/)
- [nodejs](https://nodejs.org/)

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/alist-org/alist/v3
go 1.18
go 1.19
require (
github.com/Xhofe/go-cache v0.0.0-20220723083548-714439c8af9a