[chefstyle] import Chefstyle cops and config #194
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: unit | |
'on': | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-2019, ubuntu-latest] | |
ruby: ['2.7', '3.0', '3.1'] | |
runs-on: ${{ matrix.os }} | |
env: | |
BUNDLE_WITHOUT: profiling debug docs | |
name: Unit test on ${{ matrix.os }} with Ruby ${{ matrix.ruby }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- run: bundle exec rake spec |