1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-05 03:23:49 +08:00

update to go 1.16.

This commit is contained in:
Mrs4s 2021-02-19 17:28:51 +08:00
parent 916c79d2cf
commit f9d1cf93a2
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Setup Go environment - name: Setup Go environment
uses: actions/setup-go@v2.1.3 uses: actions/setup-go@v2.1.3
with: with:
go-version: 1.15 go-version: 1.16
- name: Build binary file - name: Build binary file
env: env:
GOOS: ${{ matrix.goos }} GOOS: ${{ matrix.goos }}

View File

@ -32,6 +32,6 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }} goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }} goarch: ${{ matrix.goarch }}
goversion: "https://golang.org/dl/go1.15.3.linux-amd64.tar.gz" goversion: "https://golang.org/dl/go1.16.linux-amd64.tar.gz"
ldflags: -w -s -X "github.com/Mrs4s/go-cqhttp/coolq.Version=${{ env.RELEASE_VERSION }}" ldflags: -w -s -X "github.com/Mrs4s/go-cqhttp/coolq.Version=${{ env.RELEASE_VERSION }}"

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/Mrs4s/go-cqhttp module github.com/Mrs4s/go-cqhttp
go 1.15 go 1.16
require ( require (
github.com/Mrs4s/MiraiGo v0.0.0-20210219090120-c4288bd213f3 github.com/Mrs4s/MiraiGo v0.0.0-20210219090120-c4288bd213f3