Skip to content

[puppetsync] Clean up for linters #14

[puppetsync] Clean up for linters

[puppetsync] Clean up for linters #14

Workflow file for this run

---
name: 'PR tests'
on:
- pull_request
jobs:
syntax:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '2.5'
- '2.6'
- '2.7'
- '3.0'
- '3.1'
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- run: bundle exec rubocop
spec:
needs:
- syntax
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '2.5'
- '2.6'
- '2.7'
- '3.0'
- '3.1'
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- run: bundle exec rake spec