Repository navigation
Fix configuration spec linting on Ruby 2.7 #525
Workflow file for this run
This file contains hidden or 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: Build + Test | |
| on: [pull_request, push] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build + Test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| ruby: [ '2.7', '3.0', '3.1', '3.2', '3.4', '4.0' ] | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - name: Set up Ruby ${{ matrix.ruby }} | |
| uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b #v1.269.0 tag | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: Build and test with Rake | |
| run: | | |
| bundle exec rubocop | |
| bundle exec rspec spec |