Skip to content

fix: use Application::addCommand() for Symfony Console 8 #1

fix: use Application::addCommand() for Symfony Console 8

fix: use Application::addCommand() for Symfony Console 8 #1

Workflow file for this run

# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
name: Test changelog generator
on:
push:
branches:
- master
paths:
- 'changelog/**'
- '.github/workflows/changelog-test.yml'
pull_request:
paths:
- 'changelog/**'
- '.github/workflows/changelog-test.yml'
permissions:
contents: read
concurrency:
group: changelog-test-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: changelog
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# Matches the PHP version used by the release changelog workflow.
- name: Set up PHP
uses: shivammathur/setup-php@0f7f1d08e3e32076e51cae65eb0b0c871405b16e # v2.34.1
with:
php-version: '8.4'
coverage: none
- name: Install dependencies
run: composer install --no-progress
- name: Lint index.php
run: php -l index.php
- name: Run tests
run: composer test