[development-release] no cache plz! #12
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: Build | |
on: [push] | |
jobs: | |
mainstream-ruby-full-check: | |
runs-on: ubuntu-latest | |
env: | |
FULL_COVERAGE_CHECK: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: "3.3" | |
bundler-cache: false | |
- name: (Linter) Rubocop | |
run: bundle exec rubocop | |
- name: (Test) RSpec (with plugin tests) | |
run: bin/rspec -w | |
- name: (Test) RSpec (without plugin tests) | |
run: bin/rspec -n | |
specs-only-on-relevant-rubies: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.experimental }} | |
env: | |
FULL_COVERAGE_CHECK: false | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["3.1", "3.2", "3.3"] | |
experimental: [false] | |
include: | |
- ruby: head | |
experimental: true | |
- ruby: jruby | |
experimental: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: false | |
- name: Run Specs (with dependencies) | |
run: bin/rspec -w | |
- name: Run Specs (without dependencies) | |
run: bin/rspec -n |