Skip to content

Commit cc494b3

Browse files
committed
Migrate to sous CI config
1 parent 7b64755 commit cc494b3

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

.github/workflows/ci.yml

+24-10
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
name: ci
33

4-
on:
4+
"on":
55
pull_request:
66
push:
77
branches:
8-
- master
8+
- main
99

1010
jobs:
1111
delivery:
@@ -18,9 +18,25 @@ jobs:
1818
env:
1919
CHEF_LICENSE: accept-no-persist
2020

21-
dokken:
22-
needs: [delivery]
21+
yamllint:
2322
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
2440
strategy:
2541
matrix:
2642
os:
@@ -35,7 +51,6 @@ jobs:
3551
- 'ubuntu-1604'
3652
- 'ubuntu-1804'
3753
- 'ubuntu-2004'
38-
3954
suite:
4055
- 'all-tables'
4156
- 'install-and-remove'
@@ -46,19 +61,18 @@ jobs:
4661

4762
steps:
4863
- name: Check out code
49-
uses: actions/checkout@main
64+
uses: actions/checkout@v2
5065
- name: Install Chef
5166
uses: actionshub/chef-install@main
52-
- name: Dokken
53-
uses: actionshub/kitchen-dokken@main
67+
- name: test-kitchen
68+
uses: actionshub/test-kitchen@main
5469
env:
5570
CHEF_LICENSE: accept-no-persist
56-
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
5771
with:
5872
suite: ${{ matrix.suite }}
5973
os: ${{ matrix.os }}
6074
- name: Print debug output on failure
61-
if: failure()
75+
if: ${{ failure() }}
6276
run: |
6377
set -x
6478
sudo journalctl -l --since today

0 commit comments

Comments
 (0)