chore: update github workflows go version to 1.18

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-04-17 16:39:21 +08:00
committed by GitHub
parent 4872ba6714
commit 1e0eb81881
+2 -2
View File
@@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
goVer: [1.14, 1.15] goVer: [1.18]
steps: steps:
- name: Set up Go ${{ matrix.goVer }} - name: Set up Go ${{ matrix.goVer }}
@@ -23,7 +23,7 @@ jobs:
go get -v -t -d ./... go get -v -t -d ./...
go get gopkg.in/check.v1 go get gopkg.in/check.v1
- name: Build - name: Build
run: go build -v . run: go build -v ./...
- name: Format - name: Format
run: diff -u <(echo -n) <(gofmt -d .) run: diff -u <(echo -n) <(gofmt -d .)