Skip to content

chore: bump otto-de/purge-deprecated-workflow-runs from 2.0.4 to 2.1.0 #105

chore: bump otto-de/purge-deprecated-workflow-runs from 2.0.4 to 2.1.0

chore: bump otto-de/purge-deprecated-workflow-runs from 2.0.4 to 2.1.0 #105

Workflow file for this run

name: CI/CD Pipeline
on:
push:
branches-ignore:
- 'dependabot/**'
paths-ignore:
- '**/*.md'
- '**/*.cff'
pull_request:
branches:
- '**'
paths-ignore:
- '**/*.md'
- '**/*.cff'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
get-ruby-version:
name: Get Latest Ruby Version
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get-language-versions.outputs.latest-versions }}
steps:
- name: Get Required Versions
uses: ActionsToolbox/get-language-versions-action@446919617fd774095b5dd3ed71c39dd3fd0d8f4f # v0.1.3
id: get-language-versions
with:
language: "ruby"
highest-only: true
remove-patch-version: true
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- name: Checkout the Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Perform ShellCheck Analysis
run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/shellcheck/master/pipeline.sh)
puppet-lint:
name: Puppet Lint
needs: get-ruby-version
runs-on: ubuntu-latest
steps:
- name: Checkout the Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Ruby ${{ needs.get-ruby-version.outputs.version }}
uses: ruby/setup-ruby@401c19e14f474b54450cd3905bb8b86e2c8509cf # v1.204.0
with:
ruby-version: ${{ needs.get-ruby-version.outputs.version }}
- name: Perform Puppet Lint Analysis
run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/puppet-lint/master/pipeline.sh)
cicd-pipeline:
if: always()
name: CI/CD Pipeline
needs:
- shellcheck
- puppet-lint
runs-on: ubuntu-latest
steps:
- name: Checkout the Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Check Job Statuses
run: .github/scripts/check-jobs.sh '${{ toJson(needs) }}'