Skip to content

chore: bump actions/first-interaction from 1.3.0 to 2.0.0 #213

chore: bump actions/first-interaction from 1.3.0 to 2.0.0

chore: bump actions/first-interaction from 1.3.0 to 2.0.0 #213

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-perl-versions:
name: Get Perl Versions
runs-on: ubuntu-latest
outputs:
version-matrix: ${{ 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: "perl"
remove-patch-version: true
max-versions: 3
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)
perl-lint:
name: Perl Lint
needs: get-perl-versions
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
perl-versions: ${{ fromJson(needs.get-perl-versions.outputs.version-matrix) }}
steps:
- name: Checkout the Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Perl ${{ matrix.perl-versions }}
uses: shogo82148/actions-setup-perl@22423f01bde48fb88785c007e3166fbbbd8e892a # v1.34.0
with:
perl-version: ${{ matrix.perl-versions }}
- name: install cpanm and files from cpanfile
uses: perl-actions/install-with-cpanm@10d60f00b4073f484fc29d45bfbe2f776397ab3d # v1.7.0
with:
cpanfile: "cpanfile"
- name: Perform Perl Lint Analysis
run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/perl-lint/master/pipeline.sh)
cicd-pipeline:
if: always()
name: CI/CD Pipeline
needs:
- shellcheck
- perl-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) }}'