Skip to content

Merge pull request #32 from procore-oss/dependabot/github_actions/dep… #95

Merge pull request #32 from procore-oss/dependabot/github_actions/dep…

Merge pull request #32 from procore-oss/dependabot/github_actions/dep… #95

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
ruby: ["3.0", "3.1", "3.2", "3.3"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@161cd54b698f1fb3ea539faab2e036d409550e3c # v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Installing dependencies
run: |
bundle check --path=vendor/bundle || bundle install --path=vendor/bundle
bundle exec appraisal install --path=vendor/bundle
- name: Run tests
run: bundle exec appraisal rake test