Skip to content

Commit

Permalink
Fix broken builds (net/smtp) (Sorcery#307)
Browse files Browse the repository at this point in the history
* Update Github templates to use comments
* Update Github actions version matrix
* Temporarily disable Ruby 3.1 and Rails 7 testing. (not yet supported)
  • Loading branch information
joshbuker authored Feb 23, 2022
1 parent 5ee8908 commit 25e4b1f
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Please complete all sections.
<!-- Please complete all sections. -->

### Configuration

Expand All @@ -9,12 +9,16 @@ Please complete all sections.

### Expected Behavior

Tell us what should happen.
<!-- Tell us what should happen. -->

### Actual Behavior

Tell us what happens instead.
<!-- Tell us what happens instead. -->

### Steps to Reproduce

Please list all steps to reproduce the issue.
<!-- Please list all steps to reproduce the issue. -->

1.
2.
3.
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ Please ensure your pull request includes the following:
- [ ] Description of changes
- [ ] Update to CHANGELOG.md with short description and link to pull request
- [ ] Changes have related RSpec tests that ensure functionality does not break

<!-- For the changelog, please add your entry to the HEAD section. Do not create a new release header. -->
21 changes: 19 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,34 @@ jobs:
- 2.5
- 2.6
- 2.7
- 3.0
- 3.0.0
# - 3.1

rails:
- '52'
- '60'
- '61'
# - '70'

exclude:
- ruby: 2.4
rails: '60'
- ruby: 3.0
- ruby: 2.4
rails: '61'
# - ruby: 2.4
# rails: '70'
# - ruby: 2.5
# rails: '70'
# - ruby: 2.6
# rails: '70'
- ruby: 3.0.0
rails: '52'
# - ruby: 3.1
# rails: '52'
# - ruby: 3.1
# rails: '60'
# - ruby: 3.1
# rails: '61'

env:
BUNDLE_GEMFILE: gemfiles/rails_${{ matrix.rails }}.gemfile
Expand Down
7 changes: 7 additions & 0 deletions gemfiles/rails_61.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source 'https://rubygems.org'

gem 'rails', '~> 6.1.0'
gem 'rails-controller-testing'
gem 'sqlite3', '~> 1.4'

gemspec path: '..'
7 changes: 7 additions & 0 deletions gemfiles/rails_70.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source 'https://rubygems.org'

gem 'rails', '~> 7.0.0'
gem 'rails-controller-testing'
gem 'sqlite3', '~> 1.4'

gemspec path: '..'

0 comments on commit 25e4b1f

Please sign in to comment.