Created
January 11, 2025 06:11
-
-
Save johnroyer/b89da8f60bdcca32b83a0e4c67c50c78 to your computer and use it in GitHub Desktop.
Forgejo Runner config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push] | |
jobs: | |
"check PHP PSR": | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: "check out source code" | |
uses: "https://code.forgejo.org/actions/checkout@v4" | |
- name: "setup PHP" | |
uses: "shivammathur/[email protected]" | |
with: | |
php-version: 8.2 | |
tools: phpcs | |
- name: "check PHP coding style" | |
run: "phpcs -q" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
jobs: | |
run-php-code-sniffer: | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
php-version: ['8.2', '8.3'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Setup PHP Action" | |
uses: shivammathur/[email protected] | |
with: | |
php-version: ${{ matrix.php-version }} | |
tools: phpcs | |
- name: "check PHP coding style" | |
run: "phpcs -q" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment