Skip to content

Add --strict option to make warnings fatal #34

Add --strict option to make warnings fatal

Add --strict option to make warnings fatal #34

Workflow file for this run

---
name: 'PR tests'
on:
- pull_request
jobs:
syntax:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '2.7' # Puppet 7
- '3.2' # Puppet 8
- '3.3'
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.7' # Puppet 7
- '3.2' # Puppet 8
- '3.3'
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{matrix.ruby}}
bundler-cache: true
- run: bundle exec rake spec