Skip to content

Commit

Permalink
Use default bundler in Github Actions instead of manual install
Browse files Browse the repository at this point in the history
  • Loading branch information
harrylewis committed Feb 1, 2024
1 parent d71ac84 commit 441e262
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ jobs:
${{ runner.os }}-gem-
- name: Setup ruby
uses: ruby/setup-ruby@v1
- run: |
gem install bundler
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Install dependencies
run: bundle install
- name: Rubocop checks
run: bundle exec rubocop
6 changes: 2 additions & 4 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- run: |
gem install bundler
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
- name: Install dependencies
run: bundle install
- name: Run Tests
run: |
bundle exec rake spec

0 comments on commit 441e262

Please sign in to comment.