Add IBAN validator with QA workflows
PHP_CodeSniffer / PHP_CodeSniffer (push) Successful in 1m34s
PHPStan / PHPStan with PHP 8.5 prefer-lowest (push) Successful in 1m42s
PHPStan / PHPStan with PHP 8.1 prefer-stable (push) Successful in 1m56s
PHPStan / PHPStan with PHP 8.1 prefer-lowest (push) Successful in 1m56s
PHPStan / PHPStan with PHP 8.5 prefer-stable (push) Successful in 55s
PHPStan / PHPStan with PHP 8.6 prefer-source (push) Successful in 1m0s
PHPUnit / PHPUnit with PHP 8.1 prefer-lowest (push) Successful in 1m19s
PHPUnit / PHPUnit with PHP 8.1 prefer-stable (push) Successful in 1m23s
PHPUnit / PHPUnit with PHP 8.5 prefer-lowest (push) Successful in 55s
Smoke / Produce an output (push) Successful in 17s
PHPUnit / PHPUnit with PHP 8.5 prefer-stable (push) Successful in 57s
Smoke / Consume the output (push) Successful in 13s
PHPUnit / PHPUnit with PHP 8.6 prefer-source (push) Successful in 53s
PHP_CodeSniffer / PHP_CodeSniffer (push) Successful in 1m34s
PHPStan / PHPStan with PHP 8.5 prefer-lowest (push) Successful in 1m42s
PHPStan / PHPStan with PHP 8.1 prefer-stable (push) Successful in 1m56s
PHPStan / PHPStan with PHP 8.1 prefer-lowest (push) Successful in 1m56s
PHPStan / PHPStan with PHP 8.5 prefer-stable (push) Successful in 55s
PHPStan / PHPStan with PHP 8.6 prefer-source (push) Successful in 1m0s
PHPUnit / PHPUnit with PHP 8.1 prefer-lowest (push) Successful in 1m19s
PHPUnit / PHPUnit with PHP 8.1 prefer-stable (push) Successful in 1m23s
PHPUnit / PHPUnit with PHP 8.5 prefer-lowest (push) Successful in 55s
Smoke / Produce an output (push) Successful in 17s
PHPUnit / PHPUnit with PHP 8.5 prefer-stable (push) Successful in 57s
Smoke / Consume the output (push) Successful in 13s
PHPUnit / PHPUnit with PHP 8.6 prefer-source (push) Successful in 53s
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
name: Smoke
|
||||
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
greeting:
|
||||
description: 'Text passed from the first job to the second'
|
||||
required: false
|
||||
type: string
|
||||
default: hello
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
produce:
|
||||
runs-on: ubuntu-latest
|
||||
name: Produce an output
|
||||
outputs:
|
||||
greeting: ${{ steps.greeting.outputs.value }}
|
||||
|
||||
steps:
|
||||
- name: Show the runner
|
||||
run: |
|
||||
uname -a
|
||||
cat /etc/os-release
|
||||
id
|
||||
echo "event=${GITHUB_EVENT_NAME} ref=${GITHUB_REF} sha=${GITHUB_SHA}"
|
||||
echo "server=${GITHUB_SERVER_URL} repository=${GITHUB_REPOSITORY}"
|
||||
command -v sudo docker node php composer || true
|
||||
|
||||
- name: Set the output
|
||||
id: greeting
|
||||
env:
|
||||
INPUTS_GREETING: ${{ inputs.greeting || 'hello' }}
|
||||
run: echo "value=${INPUTS_GREETING} from ${GITHUB_REPOSITORY}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Write the step summary
|
||||
run: echo "### Smoke test ran on ${RUNNER_OS}" >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
consume:
|
||||
runs-on: ubuntu-latest
|
||||
name: Consume the output
|
||||
needs: produce
|
||||
|
||||
steps:
|
||||
- name: Print the output of the first job
|
||||
env:
|
||||
GREETING: ${{ needs.produce.outputs.greeting }}
|
||||
run: |
|
||||
test -n "${GREETING}"
|
||||
echo "${GREETING}"
|
||||
Reference in New Issue
Block a user