docker: add test token and data #30
Workflow file for this run
This file contains 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
name: PHP check | |
on: | |
push | |
jobs: | |
php-check-latest: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP latest | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: latest | |
- name: PHP version | |
run: php -v | |
- name: PHP Lint | |
run: for f in *.php; do php -l $f ; done | |
php-check-7_4: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP 7.4 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 7.4 | |
- name: PHP Lint | |
run: for f in *.php; do php -l $f ; done | |
php-check-8_4: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup PHP 8.4 | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.4 | |
- name: PHP Lint | |
run: for f in *.php; do php -l $f ; done | |