From 33f3276cdbb45f48bb5aa5bb03a0592397f51ae5 Mon Sep 17 00:00:00 2001 From: ag84ark Date: Tue, 6 Feb 2024 12:59:10 +0100 Subject: [PATCH] Remove PHP Composer workflow, rename test workflow The PHP Composer GitHub action workflow has been removed as it is no longer needed. The former 'php.yml' file has been renamed to 'tests.yml' to align more accurately with its purpose and content. --- .github/workflows/php.yml | 39 --------------------- .github/{workflows => workflows}/tests.yml | 0 2 files changed, 39 deletions(-) delete mode 100644 .github/workflows/php.yml rename .github/{workflows => workflows}/tests.yml (100%) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml deleted file mode 100644 index 2d47ab6..0000000 --- a/.github/workflows/php.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: PHP Composer - -on: - push: - branches: [ "master" ] - pull_request: - branches: [ "master" ] - -permissions: - contents: read - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Validate composer.json and composer.lock - run: composer validate --strict - - - name: Cache Composer packages - id: composer-cache - uses: actions/cache@v3 - with: - path: vendor - key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-php- - - - name: Install dependencies - run: composer install --prefer-dist --no-progress - - # Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit" - # Docs: https://getcomposer.org/doc/articles/scripts.md - - - name: Run test suite - run: composer run-script test diff --git a/.github/workflows /tests.yml b/.github/workflows/tests.yml similarity index 100% rename from .github/workflows /tests.yml rename to .github/workflows/tests.yml