forked from nephio-project/nephio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.prow.yaml
33 lines (33 loc) · 797 Bytes
/
.prow.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
presubmits:
- name: presubmit-nephio-go-test
decorate: true
run_if_changed: "(\\.go|^Makefile)$"
spec:
containers:
- image: golang:1.20.2
command:
- make
args:
- unit
- name: presubmit-nephio-gosec
decorate: true
run_if_changed: "(\\.go)$"
spec:
containers:
- image: securego/gosec:2.15.0
command:
- gosec
args:
- ./...
- name: presubmit-nephio-golangci-lint
decorate: true
run_if_changed: "(\\.go)$"
spec:
containers:
- image: golang:1.20.2
command:
- "/bin/sh"
- "-c"
- |
wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.52.2
bin/golangci-lint run -v