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@e2f20e631ae6d7dd3b768f56a5d2af784dd54791 # tag=v2.5.0
  11. - name: Set up Ruby
  12. uses: ruby/setup-ruby@ece82769428359c077b5a5eaff268902a303c101 # tag=v1.120.0
  13. with:
  14. bundler-cache: true # runs 'bundle install' and caches installed gems automatically
  15. - name: Run tests
  16. run: bundle exec rake