Skip to content

Commit b01af7d

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 b01af7d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Diff for: .github/workflows/ci.yml

+17
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,23 @@ 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+
- run: |
46+
bundle remove actionmailer
47+
bundle add actionmailer --version "~> 6.1"
48+
bundle add railties --version "~> 6.1"
49+
bundle install
50+
- name: Run tests
51+
run: bin/test
52+
3653
user-journey:
3754
strategy:
3855
fail-fast: false

0 commit comments

Comments
 (0)