diff --git a/.github/workflows/code-standards.yml b/.github/workflows/code-standards.yml deleted file mode 100644 index 6ce0c79..0000000 --- a/.github/workflows/code-standards.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Coding Standards - -on: - schedule: - - cron: 0 0 * * 0 - -jobs: - php-cs-fixer: - name: php-cs-fixer - - runs-on: ubuntu-latest - - strategy: - matrix: - php-version: - - 8.0 - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up PHP - uses: shivammathur/setup-php@v2 - with: - coverage: none - extensions: intl - php-version: ${{ matrix.php-version }} - - - name: Determine composer cache directory - id: composer-cache - run: echo "::set-output name=directory::$(composer config cache-dir)" - - - name: Cache dependencies installed with composer - uses: actions/cache@v3.0.1 - with: - path: ${{ steps.composer-cache.outputs.directory }} - key: composer-${{ runner.os }}-${{ matrix.php-version }}-${{ hashFiles('composer.*') }} - restore-keys: | - composer-${{ runner.os }}-${{ matrix.php-version }}- - composer-${{ runner.os }}- - composer- - - - name: Download dependencies - run: | - composer update --no-interaction --no-progress --optimize-autoloader - - - name: Run PHP-CS-Fixer Style - run: ./vendor/bin/php-cs-fixer fix - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v4 - with: - commit-message: Weekly Tidy - title: Weekly Tidy - body: | - - Weekly automated (auto-generated) code tidy - - branch: update-dependencies - delete-branch: true