main.yml 450 B

123456789101112131415161718192021222324252627
  1. name: Ruby
  2. on:
  3. push:
  4. branches:
  5. - master
  6. pull_request:
  7. jobs:
  8. build:
  9. runs-on: ubuntu-latest
  10. name: Ruby ${{ matrix.ruby }}
  11. strategy:
  12. matrix:
  13. ruby:
  14. - '3.1.2'
  15. steps:
  16. - uses: actions/checkout@v3
  17. - name: Set up Ruby
  18. uses: ruby/setup-ruby@v1
  19. with:
  20. ruby-version: ${{ matrix.ruby }}
  21. bundler-cache: true
  22. - name: Run the default task
  23. run: bundle exec rake