Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
* ubuntu 18 is deprecated
* setup/ruby has caching built-in now
* use ruby 3
  • Loading branch information
nathanstitt committed Aug 28, 2023
1 parent e4c8593 commit e54a21c
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,13 @@ jobs:
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-timeout 5
--health-retries 5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-ruby@v1
with:
ruby-version: 2.6
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Setup
run: bundle install
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
ruby-version: 3.0
- name: Test
run: bundle exec rake spec

0 comments on commit e54a21c

Please sign in to comment.