Deprecates checkov (#101) #265
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 |