Skip to content

CCM-14499: Pinning all GitHub Actions to SHAs #1

CCM-14499: Pinning all GitHub Actions to SHAs

CCM-14499: Pinning all GitHub Actions to SHAs #1

Workflow file for this run

name: "Build stage"

Check failure on line 1 in .github/workflows/stage-3-build.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/stage-3-build.yaml

Invalid workflow file

(Line: 43, Col: 9): Unexpected value 'run', (Line: 59, Col: 9): Unexpected value 'run'
on:
workflow_call:
inputs:
build_datetime:
description: "Build datetime, set by the CI/CD pipeline workflow"
required: true
type: string
build_timestamp:
description: "Build timestamp, set by the CI/CD pipeline workflow"
required: true
type: string
build_epoch:
description: "Build epoch, set by the CI/CD pipeline workflow"
required: true
type: string
nodejs_version:
description: "Node.js version, set by the CI/CD pipeline workflow"
required: true
type: string
python_version:
description: "Python version, set by the CI/CD pipeline workflow"
required: true
type: string
terraform_version:
description: "Terraform version, set by the CI/CD pipeline workflow"
required: true
type: string
version:
description: "Version of the software, set by the CI/CD pipeline workflow"
required: true
type: string
jobs:
artefact-1:
name: "Artefact 1"
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: "Checkout code"
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: "Build artefact 1"
run: |
echo "Building artefact 1 ..."
- name: "Check artefact 1"
run: |
echo "Checking artefact 1 ..."
- name: "Upload artefact 1"
run: |
echo "Uploading artefact 1 ..."
# Use either action/cache or action/upload-artifact
artefact-n:
name: "Artefact n"
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- name: "Checkout code"
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 - name: "Build artefact n"
run: |
echo "Building artefact n ..."
- name: "Check artefact n"
run: |
echo "Checking artefact n ..."
- name: "Upload artefact n"
run: |
echo "Uploading artefact n ..."
# Use either action/cache or action/upload-artifact