chore: update golang version to 1.19

pull/160/head
ᴍᴏᴏɴD4ʀᴋ 2 years ago committed by GitHub
parent 889a7a3844
commit 05957c1bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      .github/workflows/build.yml

@ -1,12 +1,16 @@
name: CI
on: [push]
name: build
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
goVer: [1.18]
goVer: [1.19]
steps:
- name: Set up Go ${{ matrix.goVer }}
@ -22,8 +26,9 @@ jobs:
run: |
go get -v -t -d ./...
go get gopkg.in/check.v1
- name: Format
run: diff -u <(echo -n) <(gofmt -d .)
- name: Build
run: go build -v ./...
- name: Format
run: diff -u <(echo -n) <(gofmt -d .)
Loading…
Cancel
Save