Skip to content

ci: use reusable build workflow #8

ci: use reusable build workflow

ci: use reusable build workflow #8

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
APP_NAME: files_texteditor
PHP_VERSIONS: '["8.3"]'
jobs:
get-vars:
runs-on: ubuntu-latest
outputs:
app-name: ${{ env.APP_NAME }}
php-versions: ${{ env.PHP_VERSIONS }}
steps:
- name: Set variables
run: |
echo "App name $APP_NAME"
echo "PHP versions string: $PHP_VERSIONS"
semantic-git-messages:
name: Commits
uses: owncloud/reusable-workflows/.github/workflows/semantic-git-message.yml@main
php-code-style:
name: PHP Code Style
needs:
- get-vars
uses: owncloud/reusable-workflows/.github/workflows/php-codestyle.yml@main
with:
app-name: ${{ needs.get-vars.outputs.app-name }}
php-versions: ${{ needs.get-vars.outputs.php-versions }}
php-unit:
name: PHP Unit
needs:
- get-vars
uses: owncloud/reusable-workflows/.github/workflows/php-unit.yml@main
with:
app-name: ${{ needs.get-vars.outputs.app-name }}
php-versions: ${{ needs.get-vars.outputs.php-versions }}
build:
name: Build
needs:
- get-vars
- php-code-style
- php-unit
uses: owncloud/reusable-workflows/.github/workflows/build.yml@main

Check failure on line 64 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

error parsing called workflow ".github/workflows/main.yml" -> "owncloud/reusable-workflows/.github/workflows/build.yml@main" : failed to fetch workflow: workflow was not found.
with:
app-name: ${{ needs.get-vars.outputs.app-name }}