test.yml 455 B

123456789101112131415161718
  1. name: Ruby tests
  2. on:
  3. pull_request:
  4. branches:
  5. - main
  6. jobs:
  7. test:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
  11. - name: Set up Ruby
  12. uses: ruby/setup-ruby@432702e864cadc1b56247e31aa341be5be3e129a # v1.168.0
  13. with:
  14. bundler-cache: true # runs 'bundle install' and caches installed gems automatically
  15. - name: Run tests
  16. run: bundle exec rake