Skip to content

Merge pull request #308 from puppetlabs-seteam/LTSupdates #286

Merge pull request #308 from puppetlabs-seteam/LTSupdates

Merge pull request #308 from puppetlabs-seteam/LTSupdates #286

Workflow file for this run

# This github action workflow runs Onceover and syntax checks on PRs and pushes to mater
name: Test repo
on:
push:
branches:
- 'master'
pull_request:
branches:
- 'master'
jobs:
run_checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby 2.7
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
rubygems: default
bundler: latest
- name: Install gems
run: bundle install --jobs 4 --retry 3
- name: Run sytax check
run: bundle exec rake syntax
# - name: Run Onceover
# run: bundle exec onceover run spec --force --parallel --format documentation
- name: Run Rubocop
# run: rake rubocop
run: bundle exec rubocop site-modules/deployments/**/*.rb