Commit cc494b3 1 parent 7b64755 commit cc494b3 Copy full SHA for cc494b3
File tree 1 file changed +24
-10
lines changed
1 file changed +24
-10
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
name : ci
3
3
4
- on :
4
+ " on " :
5
5
pull_request :
6
6
push :
7
7
branches :
8
- - master
8
+ - main
9
9
10
10
jobs :
11
11
delivery :
18
18
env :
19
19
CHEF_LICENSE : accept-no-persist
20
20
21
- dokken :
22
- needs : [delivery]
21
+ yamllint :
23
22
runs-on : ubuntu-latest
23
+ steps :
24
+ - name : Check out code
25
+ uses : actions/checkout@main
26
+ - name : Run yaml Lint
27
+ uses : actionshub/yamllint@main
28
+
29
+ mdl :
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - name : Check out code
33
+ uses : actions/checkout@main
34
+ - name : Run Markdown Lint
35
+ uses : actionshub/markdownlint@main
36
+
37
+ integration :
38
+ needs : [mdl, yamllint, delivery]
39
+ runs-on : macos-latest
24
40
strategy :
25
41
matrix :
26
42
os :
35
51
- ' ubuntu-1604'
36
52
- ' ubuntu-1804'
37
53
- ' ubuntu-2004'
38
-
39
54
suite :
40
55
- ' all-tables'
41
56
- ' install-and-remove'
@@ -46,19 +61,18 @@ jobs:
46
61
47
62
steps :
48
63
- name : Check out code
49
- uses : actions/checkout@main
64
+ uses : actions/checkout@v2
50
65
- name : Install Chef
51
66
uses : actionshub/chef-install@main
52
- - name : Dokken
53
- uses : actionshub/kitchen-dokken @main
67
+ - name : test-kitchen
68
+ uses : actionshub/test-kitchen @main
54
69
env :
55
70
CHEF_LICENSE : accept-no-persist
56
- KITCHEN_LOCAL_YAML : kitchen.dokken.yml
57
71
with :
58
72
suite : ${{ matrix.suite }}
59
73
os : ${{ matrix.os }}
60
74
- name : Print debug output on failure
61
- if : failure()
75
+ if : ${{ failure() }}
62
76
run : |
63
77
set -x
64
78
sudo journalctl -l --since today
You can’t perform that action at this time.
0 commit comments