Skip to content

Commit 0aaab7b

Browse files
authored
Switch from chefstyle to cookstyle with the chefstyle flag (#24)
Chefstyle is no longer maintained Signed-off-by: Tim Smith <tsmith84@gmail.com>
1 parent 56d960f commit 0aaab7b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/lint-unit.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@ name: Lint & Unit test
55
workflow_call:
66
inputs:
77
bundle_with:
8-
description: "Chose the bundler group name that Chefstyle is in"
8+
description: "Chose the bundler group name that Cookstyle is in"
99
type: "string"
1010
required: false
11-
default: "chefstyle"
11+
default: "cookstyle"
1212
bundle_without:
1313
description: "Bundle without the listed groups of Gems"
1414
type: string
1515
required: false
1616
default: "development"
1717

1818
jobs:
19-
chefstyle:
19+
cookstyle:
2020
env:
2121
BUNDLE_WITH: ${{ inputs.bundle_with }}
2222
runs-on: ubuntu-latest
2323
strategy:
2424
fail-fast: false
2525
matrix:
2626
ruby: ["3.3"]
27-
name: Chefstyle on Ruby
27+
name: Cookstyle/Chefstyle on Ruby
2828
steps:
2929
- name: Checkout code
3030
uses: actions/checkout@v4
@@ -44,9 +44,9 @@ jobs:
4444
bundler-cache: true
4545
- uses: r7kamura/rubocop-problem-matchers-action@v1
4646
if: steps.check.outputs.gemfile == 'true'
47-
- name: Chef Style
47+
- name: Cookstyle
4848
if: steps.check.outputs.gemfile == 'true'
49-
run: bundle exec chefstyle
49+
run: bundle exec cookstyle --chefstyle
5050

5151
yamllint:
5252
runs-on: ubuntu-latest
@@ -71,7 +71,7 @@ jobs:
7171
test:
7272
name: Unit Test with Ruby
7373
runs-on: ubuntu-latest
74-
needs: [yamllint, chefstyle]
74+
needs: [yamllint, cookstyle]
7575
env:
7676
BUNDLE_WITHOUT: ${{ inputs.bundle_without }}
7777
strategy:

0 commit comments

Comments
 (0)