Skip to content

clean web profile #1063

clean web profile

clean web profile #1063

Workflow file for this run

name: CI
on: pull_request
jobs:
puppet:
runs-on: ubuntu-latest
name: Puppet
defaults:
run:
working-directory: puppet
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'
bundler-cache: true
working-directory: puppet
- name: Install yajl-tools
run: sudo apt-get install -y yajl-tools
- name: Setup g10k
run: |
wget https://github.com/xorpaul/g10k/releases/download/v0.8.9/g10k-linux-amd64.zip
unzip g10k-linux-amd64.zip
- name: Install modules using g10k
run: ./g10k -cachedir .g10k/cache -puppetfile
- name: Verify dependencies are compatible
run: bundle exec ./check_dependencies
- name: Run syntax
run: bundle exec rake syntax
- name: Run lint
run: bundle exec rake lint
- name: Run tests
run: bundle exec rake spec