Replace Travis with GH actions (#9) #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
env: | |
BUNDLE_PATH: vendor/bundle | |
jobs: | |
test: | |
name: Run Tests | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
ruby: | |
- '2.6' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: "Tests" | |
run: bundle exec rake test |