diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d8766cb3..7713fda6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -9,7 +9,17 @@ on: - master jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '2.6' + bundler-cache: true + - run: bundle exec standardrb test: + needs: lint strategy: matrix: rails: ['5.2', '6.0.4', '6.1'] diff --git a/README.md b/README.md index de0fbc8b..601b4fbe 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ice_cube - Easy schedule expansion -[![Tests](https://github.com/seejohnrun/ice_cube/workflows/Tests/badge.svg)](https://github.com/seejohnrun/ice_cube/actions?query=workflow%3ATests) +[![Tests](https://github.com/seejohnrun/ice_cube/actions/workflows/tests.yaml/badge.svg)](https://github.com/seejohnrun/ice_cube/actions/workflows/tests.yaml) [![Gem Version](https://badge.fury.io/rb/ice_cube.svg)](http://badge.fury.io/rb/ice_cube) [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)