Skip to content

[Uim] (sing-box)add geosite-geolocation-!cn #303

[Uim] (sing-box)add geosite-geolocation-!cn

[Uim] (sing-box)add geosite-geolocation-!cn #303

Workflow file for this run

name: PHP Unit Tests
on:
push:
pull_request:
types: [ opened, reopened, synchronize ]
jobs:
php-file-changed:
runs-on: ubuntu-latest
outputs:
php: ${{ steps.filter.outputs.php }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
php:
- '**/*.php'
php8.2:

Check failure on line 24 in .github/workflows/unit.yaml

View workflow run for this annotation

GitHub Actions / PHP Unit Tests

Invalid workflow file

The workflow is not valid. .github/workflows/unit.yaml (Line: 24, Col: 3): The identifier 'php8.2' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters. .github/workflows/unit.yaml (Line: 37, Col: 3): The identifier 'php8.3' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
needs: php-file-changed
if: ${{ needs.php-file-changed.outputs.php == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- run: |
composer install --no-interaction --no-progress --no-suggest --quiet
php vendor/bin/phpunit
php8.3:
needs: php-file-changed
if: ${{ needs.php-file-changed.outputs.php == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.3
- run: |
composer install --no-interaction --no-progress --no-suggest --quiet
php vendor/bin/phpunit