Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-santos-foxbit committed Aug 22, 2024
1 parent 1452a17 commit 4819668
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
tests:
runs-on: ubuntu-latest
container:
image: ruby:2.6.6
image: ruby:2.7.6
env:
BUNDLE_JOBS: 3
BUNDLE_RETRY: 3
Expand All @@ -22,17 +22,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Update Rubygems
run: |
gem update --system 3.3.22
- name: Install Bundler 1.17.3
run: |
gem install bundler -v '1.17.3'
- name: Force Install ffi Gem
- name: Which bundler?
run: |
gem install ffi -v '1.17.0' --force
bundle -v
- name: Cache
id: restore-cache
Expand All @@ -41,17 +33,13 @@ jobs:
path: vendor/bundle
key: rails-demo-bundle-v2-${{ hashFiles('Gemfile.lock') }}

- name: Bundle Install with Debugging
- name: Bundle Install
run: |
bundle install --jobs=3 --retry=3 --path=vendor/bundle --verbose
- name: Which bundler?
run: |
bundle -v
bundle check || bundle install
- name: Rubocop
run: bundle exec rubocop --require rubocop-rspec

- name: Run rspec
run: |
bundle exec rspec spec
bundle exec rspec spec

0 comments on commit 4819668

Please sign in to comment.