Skip to content

ci

ci #241

Workflow file for this run

name: "ci"
on:
pull_request:
branches:
- "main"
workflow_dispatch:
jobs:
Spec:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@puppetcore"
with:
# This line enables shellcheck to be run on this repository
run_shellcheck: true
secrets: "inherit"
Debug_Gemfile:
if: github.event_name == 'workflow_dispatch' # Only run when manually triggered
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2.7'
bundler-cache: true
- name: Check Ruby and Bundler versions
run: |
ruby -v
bundle -v
- name: Debug Environment Variables
run: |
echo "==== Environment Variables ===="
env | grep FACTER || echo "No FACTER environment variables found"
echo "==== END Environment Variables ===="
- name: Debug Gemfile Content
run: |
echo "==== BEGIN GEMFILE CONTENT ===="
cat Gemfile
echo "==== END GEMFILE CONTENT ===="
- name: Run bundle install with verbose output
run: |
bundle install --verbose || echo "Bundle install failed as expected"