Skip to content

Commit 05957c1

Browse files
authored
chore: update golang version to 1.19
1 parent 889a7a3 commit 05957c1

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
name: CI
2-
on: [push]
1+
name: build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
37
jobs:
48
build:
59
name: Build
610
runs-on: ubuntu-latest
711
strategy:
812
matrix:
9-
goVer: [1.18]
13+
goVer: [1.19]
1014

1115
steps:
1216
- name: Set up Go ${{ matrix.goVer }}
@@ -22,8 +26,9 @@ jobs:
2226
run: |
2327
go get -v -t -d ./...
2428
go get gopkg.in/check.v1
29+
30+
- name: Format
31+
run: diff -u <(echo -n) <(gofmt -d .)
32+
2533
- name: Build
2634
run: go build -v ./...
27-
28-
- name: Format
29-
run: diff -u <(echo -n) <(gofmt -d .)

0 commit comments

Comments
 (0)