Require Ruby 3.1 or later #46
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: 'Lint, Unit & Integration Tests' | |
'on': | |
pull_request: | |
jobs: | |
lint-unit: | |
uses: test-kitchen/.github/.github/workflows/lint-unit.yml@main | |
integration: | |
runs-on: ubuntu-latest | |
needs: lint-unit | |
name: Kitchen Verify | |
strategy: | |
matrix: | |
ruby: ["3.3"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Create & Validate containers | |
run: | | |
bundle exec bundle exec kitchen create hello | |
bundle exec bundle exec kitchen test helloagain | |
bundle exec bundle exec kitchen destroy hello | |
env: | |
CHEF_LICENSE: "accept-no-persist" |