diff --git a/.github/workflows/fix-code-with-pint.yml b/.github/workflows/autofix-code-with-pint.yml similarity index 100% rename from .github/workflows/fix-code-with-pint.yml rename to .github/workflows/autofix-code-with-pint.yml diff --git a/.github/workflows/stan-test-lint.yml b/.github/workflows/phpstan-phpunit-pint.yml similarity index 100% rename from .github/workflows/stan-test-lint.yml rename to .github/workflows/phpstan-phpunit-pint.yml diff --git a/.github/workflows/unit-test-and-static-analyse.yml b/.github/workflows/unit-test-and-static-analyse.yml deleted file mode 100644 index 7425895..0000000 --- a/.github/workflows/unit-test-and-static-analyse.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: PHP Composer - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -permissions: - contents: read - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - fail-fast: true - matrix: - php: [8.2] - - steps: - - uses: actions/checkout@v4 - - - 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 - - - name: Run PHPstan - run: vendor/bin/phpstan analyse src tests - - - name: Run Unit Test - run: vendor/bin/phpunit tests/ - - # 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