generated from networkservicemesh/cmd-template
-
Notifications
You must be signed in to change notification settings - Fork 9
42 lines (34 loc) · 1.22 KB
/
ci.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
34
35
36
37
38
39
40
41
42
---
name: ci
on:
push:
branches:
- 'main'
- 'release/**'
pull_request:
jobs:
yamllint:
uses: networkservicemesh/.github/.github/workflows/yamllint.yaml@main
with:
config_file: "./.yamllint.yml"
shellcheck:
uses: networkservicemesh/.github/.github/workflows/shellcheck.yaml@main
golangci-lint:
uses: networkservicemesh/.github/.github/workflows/golangci-lint.yaml@main
excludeFmtErrorf:
uses: networkservicemesh/.github/.github/workflows/exclude-fmt-errorf.yaml@main
restrictNSMDeps:
uses: networkservicemesh/.github/.github/workflows/restrict-nsm-deps.yaml@main
with:
allowed_repositories: "api, sdk, sdk-k8s, sdk-kernel, sdk-sriov, sdk-vpp, govpp, vpphelper"
checkgomod:
uses: networkservicemesh/.github/.github/workflows/checkgomod.yaml@main
gogenerate:
uses: networkservicemesh/.github/.github/workflows/cmd-gogenerate.yaml@main
excludereplace:
uses: networkservicemesh/.github/.github/workflows/exclude-replace.yaml@main
docker-build-and-test:
if: github.repository != 'networkservicemesh/cmd-template'
uses: networkservicemesh/.github/.github/workflows/docker-build-and-test.yaml@main
secrets:
token: ${{ secrets.GITHUB_TOKEN }}