Skip to content

Update Metafiles

Update Metafiles #18

Workflow file for this run

---
name: Unit Test
'on':
pull_request:
push:
branches:
- main
jobs:
chefstyle:
env:
BUNDLE_WITHOUT: integration
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.1']
name: Chefstyle on Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- uses: r7kamura/rubocop-problem-matchers-action@v1
- run: bundle exec chefstyle
test:
name: Unit Test
runs-on: ubuntu-latest
needs: chefstyle
strategy:
matrix:
ruby: ['2.7', '3.0', '3.1']
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake test