Enable MDL checking #1190
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
jobs: | ||
ruby: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ruby: ['3.1', '3.3'] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
- name: Install dependencies | ||
run: bundle install | ||
- name: Run rspec | ||
run: ./scripts/run_chefspec | ||
- name: Run cookstyle | ||
run: ./scripts/run_cookstyle | ||
kitchen: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- centos-stream-9 | ||
- centos-stream-10 | ||
- ubuntu-2204 | ||
- ubuntu-2404 | ||
- debian-12 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Install Chef | ||
uses: actionshub/chef-install@2.0.4 | ||
with: | ||
project: chef-workstation | ||
version: 25.2.1075 | ||
- name: Run Kitchen | ||
uses: actionshub/test-kitchen@2.1.0 | ||
with: | ||
suite: default | ||
os: ${{ matrix.os }} | ||
env: | ||
CHEF_LICENSE: accept-no-persist | ||
CHEF_VERSION: 18.6.14 | ||
shellcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Run Shellcheck | ||
uses: ludeeus/action-shellcheck@2.0.0 | ||
markdownlint: | ||
run-on: ubuntu-latest | ||
Check failure on line 61 in .github/workflows/ci.yml
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
- name: Run mdl | ||
uses: actionshub/markdownlint@main | ||