Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaronixon committed Oct 5, 2023
1 parent a59949f commit 38fbaa9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
bundler-cache: false

- name: Install the latest Rails gem
run: gem install rails -v "~> 7.0.0"
run: gem install rails -v "7.1.0"

- name: Install Rubocop
run: gem install rubocop rubocop-performance rubocop-minitest rubocop-packaging rubocop-minitest rubocop-rails
Expand All @@ -31,7 +31,7 @@ jobs:

- name: Create fresh Rails app and run generator
run: |
rails new test-app --main
rails new test-app
cp .rubocop.yml test-app/.rubocop.yml
cd test-app
bundle add authentication-zero --path ..
Expand Down Expand Up @@ -61,10 +61,10 @@ jobs:
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
bundler-cache: false

- name: Install the latest Rails gem
run: gem install rails -v "~> 7.0.0"
run: gem install rails -v "7.1.0"

- name: Install Rubocop
run: gem install rubocop rubocop-performance rubocop-minitest rubocop-packaging rubocop-minitest rubocop-rails
Expand All @@ -74,7 +74,7 @@ jobs:

- name: Create fresh Rails app and run generator
run: |
rails new test-app --main
rails new test-app
cp .rubocop.yml test-app/.rubocop.yml
cd test-app
bundle add authentication-zero --path ..
Expand Down
8 changes: 8 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@ Style/HashSyntax:
Exclude:
- Gemfile

Layout/EmptyLinesAroundBlockBody:
Exclude:
- Gemfile

Layout/TrailingWhitespace:
Exclude:
- config/initializers/filter_parameter_logging.rb

Style/FrozenStringLiteralComment:
Enabled: false

0 comments on commit 38fbaa9

Please sign in to comment.