We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 889a7a3 commit 05957c1Copy full SHA for 05957c1
1 file changed
.github/workflows/ci.yml .github/workflows/build.yml.github/workflows/ci.yml renamed to .github/workflows/build.yml
@@ -1,12 +1,16 @@
1
-name: CI
2
-on: [push]
+name: build
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+ pull_request:
7
jobs:
8
build:
9
name: Build
10
runs-on: ubuntu-latest
11
strategy:
12
matrix:
- goVer: [1.18]
13
+ goVer: [1.19]
14
15
steps:
16
- name: Set up Go ${{ matrix.goVer }}
@@ -22,8 +26,9 @@ jobs:
22
26
run: |
23
27
go get -v -t -d ./...
24
28
go get gopkg.in/check.v1
29
+
30
+ - name: Format
31
+ run: diff -u <(echo -n) <(gofmt -d .)
32
25
33
- name: Build
34
run: go build -v ./...
-
- - name: Format
- run: diff -u <(echo -n) <(gofmt -d .)
0 commit comments