Skip to content

build(deps): bump robthree/twofactorauth from 2.1.0 to 3.0.0 #4527

build(deps): bump robthree/twofactorauth from 2.1.0 to 3.0.0

build(deps): bump robthree/twofactorauth from 2.1.0 to 3.0.0 #4527

Workflow file for this run

name: phpMyFAQ Build
on:
push:
pull_request:
permissions:
contents: read
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
operating-system: ['ubuntu-latest']
php-versions: ['8.2', '8.3', '8.4']
name: phpMyFAQ ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, curl, fileinfo, filter, gd, json, zip, xml, sqlite3, xdebug, pcov
coverage: xdebug
- name: Get composer cache directory
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache composer dependencies
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Lint with PHPCS
run: phpmyfaq/src/libs/bin/phpcs --standard=PSR12 ./phpmyfaq/src/phpMyFAQ
- name: Test with PHPUnit
run: phpmyfaq/src/libs/bin/phpunit --coverage-text