test.yml 462 B

123456789101112131415161718
  1. name: Ruby tests
  2. on:
  3. pull_request:
  4. branches:
  5. - main
  6. jobs:
  7. test:
  8. runs-on: ubuntu-20.04
  9. steps:
  10. - uses: actions/checkout@7884fcad6b5d53d10323aee724dc68d8b9096a2e # tag=v2.4.2
  11. - name: Set up Ruby
  12. uses: ruby/setup-ruby@0a29871fe2b0200a17a4497bae54fe5df0d973aa # tag=v1.115.3
  13. with:
  14. bundler-cache: true # runs 'bundle install' and caches installed gems automatically
  15. - name: Run tests
  16. run: bundle exec rake