File tree Expand file tree Collapse file tree 2 files changed +33
-29
lines changed Expand file tree Collapse file tree 2 files changed +33
-29
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Test
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ types :
8
+ - opened
9
+ - synchronize
10
+ paths :
11
+ - " .github/workflows/test.yml"
12
+ - " go.*"
13
+ - " *.go"
14
+ concurrency :
15
+ group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16
+ cancel-in-progress : true
17
+ jobs :
18
+ test :
19
+ name : test
20
+ runs-on : ubuntu-latest
21
+ permissions :
22
+ contents : read
23
+ steps :
24
+ - name : checkout
25
+ uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
26
+ - name : Set up Go
27
+ uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
28
+ with :
29
+ go-version-file : ./go.mod
30
+ - name : test
31
+ run : go test -v -race ./...
32
+ - name : vet
33
+ run : go vet ./...
You can’t perform that action at this time.
0 commit comments