Skip to content

Commit de63562

Browse files
committed
ci: add a job that tests against Rails 6.1
because the scaffold generation changed in Rails 7
1 parent 67e6d67 commit de63562

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Diff for: .github/workflows/ci.yml

+18
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,24 @@ jobs:
3333
- name: Run tests
3434
run: bin/test
3535

36+
rails6:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v3
40+
- run: rm Gemfile.lock
41+
- uses: ruby/setup-ruby@v1
42+
with:
43+
ruby-version: "3.2"
44+
bundler: latest
45+
- name: "Pin to Rails 6.1"
46+
run: |
47+
bundle remove actionmailer
48+
bundle add actionmailer --version "~> 6.1" --skip-install
49+
bundle add railties --version "~> 6.1" --skip-install
50+
bundle install
51+
- name: Run tests
52+
run: bin/test
53+
3654
user-journey:
3755
strategy:
3856
fail-fast: false

0 commit comments

Comments
 (0)