Skip to content

Merge pull request #29 from choria-plugins/5_4_1 #3

Merge pull request #29 from choria-plugins/5_4_1

Merge pull request #29 from choria-plugins/5_4_1 #3

Workflow file for this run

---
name: Continuous Integration
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
bundler-cache: true
- name: Run static code analysis
run: bundle exec rubocop
unit:
runs-on: ubuntu-latest
needs: rubocop
strategy:
matrix:
ruby:
- "2.6"
- "2.7"
- "3.0"
- "3.1"
name: Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v3
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rake test