Add nice badges for CI/gem #41
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: Tests and Lint | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
ruby: | |
- '2.6' | |
- '3.2' | |
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 rspec --backtrace --fail-fast | |
- name: "Lint" | |
run: bundle exec rake standard |