File tree Expand file tree Collapse file tree 3 files changed +46
-32
lines changed
Expand file tree Collapse file tree 3 files changed +46
-32
lines changed Original file line number Diff line number Diff line change 1- name : " [CI] Auto "
1+ name : " Default CI "
22on :
33 pull_request :
44 types :
2020 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
2121 - run : echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
2222 - run : make lint-code
23- nodeadm-build :
24- runs-on : ubuntu-latest
25- steps :
26- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
27- - run : cd nodeadm && make build
28- nodeadm-build-wasm :
29- runs-on : ubuntu-latest
30- steps :
31- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
32- - run : cd nodeadm && make wasm
33- nodeadm-check-generate :
34- runs-on : ubuntu-latest
35- steps :
36- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
37- - run : hack/nodeadm-check-generate.sh
38- nodeadm-check-vendor :
39- runs-on : ubuntu-latest
40- steps :
41- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
42- - run : hack/nodeadm-check-vendor.sh
43- nodeadm-test :
44- runs-on : ubuntu-latest
45- steps :
46- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
47- - run : cd nodeadm && make test
48- nodeadm-test-e2e :
49- runs-on : ubuntu-latest
50- steps :
51- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
52- - run : cd nodeadm && make test-e2e
Original file line number Diff line number Diff line change 1+ name : " Nodeadm CI"
2+ on :
3+ pull_request :
4+ types :
5+ - opened
6+ - reopened
7+ - synchronize
8+ paths :
9+ - ' nodeadm/**'
10+ permissions :
11+ contents : read
12+
13+ jobs :
14+ nodeadm-build :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
18+ - run : cd nodeadm && make build
19+ nodeadm-build-wasm :
20+ runs-on : ubuntu-latest
21+ steps :
22+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
23+ - run : cd nodeadm && make wasm
24+ nodeadm-check-generate :
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
28+ - run : hack/nodeadm-check-generate.sh
29+ nodeadm-check-vendor :
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
33+ - run : hack/nodeadm-check-vendor.sh
34+ nodeadm-test :
35+ runs-on : ubuntu-latest
36+ steps :
37+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
38+ - run : cd nodeadm && make test
39+ nodeadm-test-e2e :
40+ runs-on : ubuntu-latest
41+ steps :
42+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # 6.0.2
43+ - run : cd nodeadm && make test-e2e
Original file line number Diff line number Diff line change 33 pull_request :
44 branches :
55 - " main"
6+ paths :
7+ - ' **.go'
68permissions :
79 contents : read
810jobs :
2022 go-version-file : ' nodeadm/go.mod'
2123 - run : go install github.com/securego/gosec/v2/cmd/gosec@latest
2224 - run : gosec -exclude-generated ./...
23- working-directory : nodeadm
2425 govulncheck :
2526 runs-on : ubuntu-latest
2627 steps :
You can’t perform that action at this time.
0 commit comments