Skip to content

Commit

Permalink
Merge pull request #36 from happyprime/repo-sync/projects/default
Browse files Browse the repository at this point in the history
Update: synced file(s) with happyprime/projects
  • Loading branch information
jeremyfelt authored Nov 16, 2023
2 parents 9a3fd6b + 56ccf82 commit 0e3a9ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/issues.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This file is managed in https://github.com/happyprime/projects
name: Add new issues to Happy Prime project

on:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: PHP_CodeSniffer
# This file is managed in https://github.com/happyprime/projects
name: PHPCS (Default, PHP 8.2)

on: pull_request

Expand All @@ -12,7 +13,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
php-version: '8.2'
coverage: none
tools: composer, cs2pr

Expand All @@ -28,7 +29,9 @@ jobs:
${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --no-interaction --no-scripts
run: |
composer config github-oauth.github.com ${{ secrets.AMIABOT_BOT_TOKEN }}
composer install --prefer-dist --no-progress
- name: Detect coding standard violations
run: vendor/bin/phpcs -q --report=checkstyle . | cs2pr --notices-as-warnings

0 comments on commit 0e3a9ee

Please sign in to comment.