File tree 2 files changed +26
-28
lines changed
2 files changed +26
-28
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : " gomod"
4
+ commit-message :
5
+ prefix : " deps:"
6
+ directory : " /"
7
+ schedule :
8
+ interval : " weekly"
9
+ day : " sunday"
10
+ time : " 09:00"
11
+ - package-ecosystem : " github-actions"
12
+ commit-message :
13
+ prefix : " ci:"
14
+ directory : " /"
15
+ schedule :
16
+ interval : " weekly"
17
+ day : " sunday"
18
+ time : " 09:00"
Original file line number Diff line number Diff line change @@ -2,36 +2,16 @@ name: build
2
2
3
3
on :
4
4
push :
5
- branches : [ main ]
5
+ branches : [main]
6
6
pull_request :
7
- branches : [ main ]
7
+ branches : [main]
8
+ schedule :
9
+ - cron : ' 0 0 * * 0' # run "At 00:00 on Sunday"
8
10
11
+ # See https://github.com/cristalhq/.github/.github/workflows
9
12
jobs :
10
-
11
13
build :
12
- name : Build
13
- runs-on : ubuntu-latest
14
- steps :
15
-
16
- - name : Set up Go 1.x
17
- uses : actions/setup-go@v2
18
- with :
19
- go-version : ^1.15
20
-
21
- - name : Check out code into the Go module directory
22
- uses : actions/checkout@v2
23
-
24
- - name : Download module dependencies
25
- env :
26
- GOPROXY : " https://proxy.golang.org"
27
- run : go mod download
28
-
29
- - name : Test
30
- run : go test -v -coverprofile=coverage.txt ./...
14
+ uses :
cristalhq/.github/.github/workflows/[email protected]
31
15
32
- - name : Upload Coverage
33
- uses : codecov/codecov-action@v1
34
- with :
35
- token : ${{secrets.CODECOV_TOKEN}}
36
- file : ./coverage.txt
37
- fail_ci_if_error : false
16
+ vuln :
17
+ uses :
cristalhq/.github/.github/workflows/[email protected]
You can’t perform that action at this time.
0 commit comments