Skip to content

Commit

Permalink
Update CI workflow for bundler caching and command simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
buty4649 committed Jul 16, 2024
1 parent 17755f1 commit 9cedb36
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Install dependencies
run: bundle install
with:
bundler-cache: true
- name: Run rubocop
run: bundle exec rubocop

Expand Down Expand Up @@ -70,10 +70,8 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Install dependencies
run: bundle install
- name: Grant execute permission
if: ${{ ! contains(matrix.runs-on, 'windows') }}
run: chmod +x build/bin/rf
- name: Run test
run: bundle exec rake spec
run: rake spec

0 comments on commit 9cedb36

Please sign in to comment.