Skip to content

fix(core): strict UTC date parsing for disabledUntil — eliminate time… #7

fix(core): strict UTC date parsing for disabledUntil — eliminate time…

fix(core): strict UTC date parsing for disabledUntil — eliminate time… #7

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
jobs:
tests:
name: PHP ${{ matrix.php }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3', '8.4']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP ${{ matrix.php }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: none
- name: Install dependencies
run: composer install --no-interaction --prefer-dist
- name: Run tests
run: composer test
env:
GOOGLE_CREDS_B64: ${{ secrets.GOOGLE_CREDS_B64 }}
sync:
name: Sync spreadsheet
runs-on: ubuntu-latest
needs: tests
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
coverage: none
- name: Install dependencies
run: composer install --no-interaction --prefer-dist
- name: Sync test IDs with spreadsheet
run: composer test
env:
SKIPPER_MODE: sync
GOOGLE_CREDS_B64: ${{ secrets.GOOGLE_CREDS_B64 }}
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
coverage: none
- name: Install dependencies
run: composer install --no-interaction --prefer-dist
- name: Run PHP CS Fixer
run: composer lint