-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arnaud Lachaume
committed
Dec 31, 2021
1 parent
326cfc7
commit 1de17e0
Showing
39 changed files
with
478 additions
and
1,114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Rubocop | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Setup System | ||
run: sudo apt-get install libsqlite3-dev | ||
- uses: actions/checkout@v2 | ||
- uses: zhulik/[email protected] | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.0.1' | ||
bundler-cache: true | ||
- name: Lint codebase | ||
run: | | ||
gem install bundler | ||
bundle install --jobs 4 --retry 3 | ||
bundle exec rubocop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Ruby 2.7 | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ruby: | ||
- '2.7.5' | ||
appraisal: | ||
- 'google-cloud-tasks-1.0' | ||
- 'google-cloud-tasks-1.1' | ||
- 'google-cloud-tasks-1.2' | ||
- 'google-cloud-tasks-1.3' | ||
- 'rails-5.2' | ||
- 'rails-6.0' | ||
- 'rails-6.1' | ||
- 'rails-7.0' | ||
- 'semantic_logger-3.4' | ||
- 'semantic_logger-4.6' | ||
- 'semantic_logger-4.7.0' | ||
- 'semantic_logger-4.7.2' | ||
steps: | ||
- name: Setup System | ||
run: sudo apt-get install libsqlite3-dev | ||
- uses: actions/checkout@v2 | ||
- uses: zhulik/[email protected] | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- name: Build and test with Rake | ||
env: | ||
APPRAISAL_CONTEXT: ${{ matrix.appraisal }} | ||
run: | | ||
gem install bundler | ||
bundle install --jobs 4 --retry 3 | ||
bundle exec appraisal ${APPRAISAL_CONTEXT} bundle | ||
bundle exec appraisal ${APPRAISAL_CONTEXT} rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,61 @@ | ||
# frozen_string_literal: true | ||
|
||
appraise 'google-cloud-tasks-1.0' do | ||
gem 'activesupport', '6.1' # ruby 2.5 / 2.6 compatibility | ||
gem 'google-cloud-tasks', '1.0' | ||
end | ||
|
||
appraise 'google-cloud-tasks-1.1' do | ||
gem 'activesupport', '6.1' # ruby 2.5 / 2.6 compatibility | ||
gem 'google-cloud-tasks', '1.1' | ||
end | ||
|
||
appraise 'google-cloud-tasks-1.2' do | ||
gem 'activesupport', '6.1' # ruby 2.5 / 2.6 compatibility | ||
gem 'google-cloud-tasks', '1.2' | ||
end | ||
|
||
appraise 'google-cloud-tasks-1.3' do | ||
gem 'activesupport', '6.1' # ruby 2.5 / 2.6 compatibility | ||
gem 'google-cloud-tasks', '1.3' | ||
end | ||
|
||
appraise 'rails-5.2' do | ||
gem 'rails', '5.2' | ||
gem 'rspec-rails' | ||
end | ||
|
||
appraise 'rails-6.0' do | ||
gem 'rails', '6.0' | ||
gem 'rspec-rails' | ||
end | ||
|
||
appraise 'rails-6.1' do | ||
gem 'rails', '6.1' | ||
gem 'rspec-rails' | ||
end | ||
|
||
appraise 'rails-7.0' do | ||
gem 'rails', '7.0' | ||
gem 'rspec-rails' | ||
end | ||
|
||
appraise 'semantic_logger-3.4' do | ||
gem 'activesupport', '6.1' # ruby 2.5 / 2.6 compatibility | ||
gem 'semantic_logger', '3.4.1' | ||
end | ||
|
||
appraise 'semantic_logger-4.6' do | ||
gem 'activesupport', '6.1' # ruby 2.5 / 2.6 compatibility | ||
gem 'semantic_logger', '4.6.1' | ||
end | ||
|
||
appraise 'semantic_logger-4.7.0' do | ||
gem 'activesupport', '6.1' # ruby 2.5 / 2.6 compatibility | ||
gem 'semantic_logger', '4.7.0' | ||
end | ||
|
||
appraise 'semantic_logger-4.7.2' do | ||
gem 'activesupport', '6.1' # ruby 2.5 / 2.6 compatibility | ||
gem 'semantic_logger', '4.7.2' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.