Skip to content

Commit

Permalink
cheburek
Browse files Browse the repository at this point in the history
  • Loading branch information
0exp committed Nov 25, 2024
1 parent 1ea889f commit d3e4f8e
Showing 1 changed file with 11 additions and 42 deletions.
53 changes: 11 additions & 42 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,25 @@
name: Build (Linter + Specs)
name: Test (Linter + Typecheck + Specs)
on: [push, pull_request]
jobs:
ruby33:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
- ruby_version: '3.1'
env: gemfiles/ruby31.gemfile
- ruby_version: '3.2'
env: gemfiles/ruby32.gemfile
- ruby_version: '3.3'
env: gemfiles/ruby33.gemfile
env:
BUNDLE_GEMFILE: gemfiles/ruby33.gemfile
BUNDLE_GEMFILE: ${{ matrix.env }}
steps:
- uses: actions/checkout@v4
- uses: supercharge/[email protected]
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
bundler-cache: true
- name: (Linter) Rubocop
run: bundle exec rake rubocop
- name: (TypeCheck) Steep
run: bundle exec steep check --jobs 10
- name: (Test) RSpec
run: bundle exec rake rspec
ruby32:
runs-on: ubuntu-latest
strategy:
fail-fast: false
env:
BUNDLE_GEMFILE: gemfiles/ruby32.gemfile
steps:
- uses: actions/checkout@v4
- uses: supercharge/[email protected]
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: (Linter) Rubocop
run: bundle exec rake rubocop
- name: (TypeCheck) Steep
run: bundle exec steep check --jobs 10
- name: (Test) RSpec
run: bundle exec rake rspec
ruby31:
runs-on: ubuntu-latest
strategy:
fail-fast: false
env:
BUNDLE_GEMFILE: gemfiles/ruby31.gemfile
steps:
- uses: actions/checkout@v4
- uses: supercharge/[email protected]
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- name: (Linter) Rubocop
run: bundle exec rake rubocop
Expand Down

0 comments on commit d3e4f8e

Please sign in to comment.