.github/workflows/main.yml in shoelace-rails-0.2.0 vs .github/workflows/main.yml in shoelace-rails-0.3.0
- old
+ new
@@ -7,42 +7,44 @@
jobs:
unit:
strategy:
matrix:
ruby_version:
+ - '3.2'
- '3.1'
- '3.0'
- '2.7'
- - 'jruby-9.3.3.0'
+ - 'jruby-9.3'
+ - 'jruby-9.4'
gemfile:
- gemfiles/rails_70.gemfile
- gemfiles/rails_61.gemfile
- gemfiles/rails_60.gemfile
exclude:
- - ruby_version: 'jruby-9.3.3.0'
+ - ruby_version: 'jruby-9.3'
gemfile: gemfiles/rails_70.gemfile
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-22.04
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby_version }}
bundler-cache: true
- run: bundle exec rake test
system:
needs: unit
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-22.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: 3.1.0
+ ruby-version: 3.2.0
bundler-cache: true
- name: Install dependencies
run: |
rm -rf node_modules &&
yarn install &&
@@ -51,15 +53,15 @@
- name: Run the system test in the dummy app
run: rake test:system
rails_edge:
needs: system
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-22.04
env:
BUNDLE_GEMFILE: gemfiles/rails_edge.gemfile
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: true
@@ -70,29 +72,29 @@
strategy:
matrix:
gemfile:
- gemfiles/rails_edge.gemfile
- gemfiles/rails_70.gemfile
- runs-on: ubuntu-18.04
+ runs-on: ubuntu-22.04
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 'ruby-head'
bundler-cache: true
- run: bundle exec rake || echo "Ruby edge test is done."
# browser_tests:
-# runs-on: ubuntu-18.04
+# runs-on: ubuntu-22.04
# steps:
-# - uses: actions/checkout@v2
+# - uses: actions/checkout@v3
# - name: Set up Ruby
# uses: ruby/setup-ruby@v1
# with:
-# ruby-version: 3.1.0
+# ruby-version: 3.2.0
# bundler-cache: true
# - name: Install dependencies
# run: |
# rm -rf node_modules &&
# yarn install &&