mirror of
https://github.com/RobThree/TwoFactorAuth.git
synced 2026-08-28 11:06:53 +00:00
76f420e6b2
This change adds the PHP attribute SensitiveParameter to the secret holding variables. See: https://www.php.net/manual/en/class.sensitiveparameter This feature is only available in PHP 8.2, so the minimum php version required has been updated. Github Actions now use PHP 8.2 and 8.3 for the tests. The checkout action has been updated to v4, too. Fix issue #118
31 lines
583 B
YAML
31 lines
583 B
YAML
name: Test Bacon QR Code Provider
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
php-version: ['8.2', '8.3']
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: ${{ matrix.php-version }}
|
|
tools: composer
|
|
coverage: xdebug
|
|
ini-values: error_reporting=E_ALL
|
|
|
|
- uses: ramsey/composer-install@v2
|
|
|
|
- run: composer require bacon/bacon-qr-code
|
|
|
|
- run: composer lint-ci
|
|
- run: composer test testsDependency/BaconQRCodeTest.php
|