Added 2.03.24 attributes #36
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 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: ['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 |