Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

puppet-lint-action

Actions
GitHub Action for puppet-lint
1.0.0
Star (4)

GitHub Action for Puppet Lint

This Action for Puppet Lint enables arbitrary actions for interacting with Puppet Lint to test Puppet code against the recommended Puppet language style guide. Puppet Lint validates only code style; it does not validate syntax.

Usage

An example workflow for testing manifests for correct Puppet style - run the puppet-lint command with the path to the files you want to test as args.

name: Puppet Lint

on: [push]

jobs:
  puppet-lint:

    runs-on: ubuntu-latest
    
    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: puppet-lint
      uses: scottbrenner/puppet-lint-action@master
      with:
        args: ./

See Testing with Puppet Lint for full usage details.

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

Container images built with this project include third party materials. See THIRD_PARTY_NOTICE.md for details.

puppet-lint-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub Action for puppet-lint
1.0.0

puppet-lint-action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.