File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ci
2+ on :
3+ - push
4+ - pull_request
5+ env :
6+ golang-version : ' 1.16'
7+ jobs :
8+ generate :
9+ runs-on : ubuntu-latest
10+ name : Generate yaml
11+ steps :
12+ - uses : actions/checkout@v2
13+ with :
14+ persist-credentials : false
15+ - uses : actions/setup-go@v2
16+ with :
17+ go-version : ${{ env.golang-version }}
18+ - run : make --always-make generate && git diff --exit-code
19+ lint :
20+ runs-on : ubuntu-latest
21+ name : Jsonnet linter
22+ steps :
23+ - uses : actions/checkout@v2
24+ with :
25+ persist-credentials : false
26+ - run : make --always-make lint
27+ fmt :
28+ runs-on : ubuntu-latest
29+ name : Jsonnet formatter
30+ steps :
31+ - uses : actions/checkout@v2
32+ with :
33+ persist-credentials : false
34+ - run : make --always-make fmt && git diff --exit-code
35+ unit-tests :
36+ runs-on : ubuntu-latest
37+ name : Unit tests
38+ steps :
39+ - uses : actions/checkout@v2
40+ with :
41+ persist-credentials : false
42+ - run : make --always-make test
You can’t perform that action at this time.
0 commit comments