@@ -5,36 +5,36 @@ name: ci
5
5
pull_request :
6
6
push :
7
7
branches :
8
- - master
8
+ - main
9
9
10
10
jobs :
11
11
delivery :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- name : Check out code
15
- uses : actions/checkout@master
15
+ uses : actions/checkout@v2
16
16
- name : Run Chef Delivery
17
- uses : actionshub/chef-delivery@master
17
+ uses : actionshub/chef-delivery@main
18
18
env :
19
19
CHEF_LICENSE : accept-no-persist
20
20
21
21
yamllint :
22
22
runs-on : ubuntu-latest
23
23
steps :
24
24
- name : Check out code
25
- uses : actions/checkout@master
25
+ uses : actions/checkout@v2
26
26
- name : Run yaml Lint
27
- uses : actionshub/yamllint@master
27
+ uses : actionshub/yamllint@main
28
28
29
29
mdl :
30
30
runs-on : ubuntu-latest
31
31
steps :
32
32
- name : Check out code
33
- uses : actions/checkout@master
33
+ uses : actions/checkout@v2
34
34
- name : Run Markdown Lint
35
- uses : actionshub/markdownlint@master
35
+ uses : actionshub/markdownlint@main
36
36
37
- dokken :
37
+ integration :
38
38
needs : [mdl, yamllint, delivery]
39
39
runs-on : ubuntu-latest
40
40
strategy :
74
74
75
75
steps :
76
76
- name : Check out code
77
- uses : actions/checkout@master
77
+ uses : actions/checkout@v2
78
78
- name : Install Chef
79
- uses : actionshub/chef-install@master
79
+ uses : actionshub/chef-install@main
80
80
# https://github.com/actions/virtual-environments/issues/181#issuecomment-610874237
81
81
- name : Disable apparmor for mysqld
82
82
run : |
85
85
sudo apt-get -y install apparmor-profiles
86
86
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
87
87
- name : Dokken
88
- uses : actionshub/kitchen-dokken@master
88
+ uses : actionshub/test-kitchen@main
89
89
env :
90
90
CHEF_LICENSE : accept-no-persist
91
91
KITCHEN_LOCAL_YAML : kitchen.dokken.yml
@@ -100,10 +100,3 @@ jobs:
100
100
sudo docker version
101
101
sudo docker info
102
102
KITCHEN_LOCAL_YAML=kitchen.dokken.yml /usr/bin/kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "journalctl -l"
103
-
104
- final :
105
- needs : [dokken]
106
- runs-on : ubuntu-latest
107
- steps :
108
- - name : Check out code
109
- uses : actions/checkout@master
0 commit comments