Skip to content

Create puppet-lint.yaml #1

Create puppet-lint.yaml

Create puppet-lint.yaml #1

Workflow file for this run

name: puppet linting
on:
pull_request:
branches:
- master
- main
- production
paths-ignore:
- "**.md"
jobs:
build:
runs-on: ubuntu-latest # This uses an Ubuntu runner to execute Docker
container:
image: quay.io/dhtech/puppet-ci:latest # Use the specified Docker image from Quay.io
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Puppet lint
run: |
/root/.rbenv/shims/puppet-lint --no-puppet_url_without_modules-check --fail-on-warnings .
- name: ERB lint
run: |
/root/.rbenv/shims/rails-erb-lint check