Skip to content

Merge pull request #588 from fog/dependabot/github_actions/actions/st… #119

Merge pull request #588 from fog/dependabot/github_actions/actions/st…

Merge pull request #588 from fog/dependabot/github_actions/actions/st… #119

Workflow file for this run

name: unit-tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test-unit:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['2.7', '3.0', '3.1', 'head', 'truffleruby-head']
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake