Sha256: aaffdba8127213d30fba175e0c9b542989a972f5beda867a3c881b02be90d858
Contents?: true
Size: 1.34 KB
Versions: 1
Compression:
Stored size: 1.34 KB
Contents
# This workflow uses actions that are not certified by GitHub. # They are provided by a third-party and are governed by # separate terms of service, privacy policy, and support # documentation. # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby name: Ruby on: push: branches: [ "main" ] pull_request: branches: [ "main" ] permissions: contents: read jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2'] include: - gemfile: Gemfile not-only-test: true - gemfile: Gemfile ruby-version: 2.6 not-only-test: false env: BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }} steps: - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} - name: Install dependencies run: bundle install - if: ${{ matrix.not-only-test }} name: Type check run: bundle exec srb tc - if: ${{ matrix.not-only-test }} name: Lint run: bundle exec rubocop - name: Run tests run: bundle exec rspec
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hierarchical_config-1.0.0 | .github/workflows/ruby.yml |