Skip to content

Commit

Permalink
CI: cache installed dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
orien committed Jan 24, 2024
1 parent dbe5df6 commit df57d0d
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
name: Test

on: [push, pull_request]

jobs:
test:
strategy:
fail-fast: false
matrix:
ruby: ["2.5", "2.6", "2.7", "3.0", "3.1", "3.2", "3.3"]
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake
bundler-cache: true
- run: bundle exec rake

0 comments on commit df57d0d

Please sign in to comment.