This repository has been archived by the owner on Jan 6, 2025. It is now read-only.
chore(deps): update actionshub/chef-install action to v3.0.1 #276
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
Lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby 2.6 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.7' | |
- name: Setup cookstyle | |
run: gem install cookstyle | |
- name: Cookstyle | |
run: cookstyle . | |
Duplicates: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby 2.6 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '2.7' | |
- name: Setup flay | |
run: gem install flay | |
- name: Flay | |
run: flay **/*.rb | |
Test-Integration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Chef | |
uses: actionshub/[email protected] | |
- name: Kitchen | |
uses: actionshub/[email protected] | |
env: | |
CHEF_LICENSE: accept-no-persist | |
Test-Unit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Chef | |
uses: actionshub/[email protected] | |
- name: RSpec | |
run: chef exec rspec | |
env: | |
CHEF_LICENSE: accept-no-persist |