File tree 2 files changed +25
-14
lines changed
2 files changed +25
-14
lines changed Original file line number Diff line number Diff line change
1
+ # Maintained in https://github.com/coreos/repo-templates
2
+ # Do not edit downstream.
3
+
1
4
version : 2
2
5
updates :
3
- - package-ecosystem : gomod
4
- directory : /
5
- schedule :
6
- interval : weekly
7
- open-pull-requests-limit : 10
8
- labels :
9
- - dependency
6
+ - package-ecosystem : gomod
7
+ directory : /
8
+ schedule :
9
+ interval : weekly
10
+ open-pull-requests-limit : 10
11
+ labels :
12
+ - dependency
Original file line number Diff line number Diff line change 1
- name : Go
1
+ # Maintained in https://github.com/coreos/repo-templates
2
+ # Do not edit downstream.
2
3
4
+ name : Go
3
5
on :
4
6
push :
5
7
branches : [main]
6
8
pull_request :
7
9
branches : [main]
8
-
9
10
permissions :
10
11
contents : read
11
12
13
+ # don't waste job slots on superseded code
14
+ concurrency :
15
+ group : ${{ github.workflow }}-${{ github.ref }}
16
+ cancel-in-progress : true
17
+
12
18
jobs :
13
- test-build :
14
- name : Test build
19
+ test :
20
+ name : Test
15
21
strategy :
16
22
matrix :
17
23
go-version : [1.18.x, 1.19.x, 1.20.x]
@@ -23,10 +29,12 @@ jobs:
23
29
go-version : ${{ matrix.go-version }}
24
30
- name : Check out repository
25
31
uses : actions/checkout@v3
26
- - name : Run tests
27
- run : go test ./...
32
+ - name : Check modules
33
+ run : go mod verify
34
+ - name : Test
35
+ run : go test -v ./...
28
36
- name : Run linter
29
37
uses : golangci/golangci-lint-action@v3
30
38
with :
31
- version : v1.51.1
39
+ version : v1.52.2
32
40
args : -E=gofmt --timeout=30m0s
You can’t perform that action at this time.
0 commit comments