(PA-5538) Add AIX 7.3 to metadata.json on puppetlabs-augeas_core module #119
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Static Code Analysis | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
static_code_analysis: | |
name: Run checks | |
env: | |
ruby_version: 2.6 | |
extra_checks: check:symlinks check:git_ignore check:dot_underscore check:test_file | |
runs-on: 'ubuntu-20.04' | |
steps: | |
- name: Checkout current PR code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install ruby version ${{ env.ruby_version }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ env.ruby_version }} | |
- name: Prepare testing environment with bundler | |
run: | | |
git config --global core.longpaths true | |
bundle config set --local without 'release' | |
bundle update --jobs 4 --retry 3 | |
- name: Run commits check | |
run: bundle exec rake commits | |
- name: Run rubocop check | |
run: bundle exec rake ${{ env.extra_checks }} rubocop | |
- name: Run syntax check | |
run: bundle exec rake ${{ env.extra_checks }} syntax syntax:hiera syntax:manifests syntax:templates | |
- name: Run lint check | |
run: bundle exec rake ${{ env.extra_checks }} lint | |
- name: Run metadata_lint check | |
run: bundle exec rake ${{ env.extra_checks }} metadata_lint |