Skip to content

Commit

Permalink
Fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Sep 25, 2023
1 parent 1b82f14 commit a06f643
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest, windows-latest]
php-versions: ['7.4', '8.0', '8.1', '8.2']
php-versions: ['8.0', '8.1', '8.2']

steps:
- name: Setup PHP, with composer and extensions
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
run: bash vendor/bin/check-syntax-php.sh

- name: Decide whether to run code coverage or not
if: ${{ matrix.php-versions != '7.4' || matrix.operating-system != 'ubuntu-latest' }}
if: ${{ matrix.php-versions != '8.0' || matrix.operating-system != 'ubuntu-latest' }}
run: |
echo "NO_COVERAGE=--no-coverage" >> $GITHUB_ENV
Expand All @@ -78,7 +78,7 @@ jobs:
./vendor/bin/phpunit $NO_COVERAGE
- name: Save coverage data
if: ${{ matrix.php-versions == '7.4' && matrix.operating-system == 'ubuntu-latest' }}
if: ${{ matrix.php-versions == '8.0' && matrix.operating-system == 'ubuntu-latest' }}
uses: actions/upload-artifact@v3
with:
name: build-data
Expand All @@ -91,7 +91,7 @@ jobs:
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: '7.4'
php-version: '8.0'
extensions: mbstring, xml
tools: composer:v2
coverage: none
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: '7.4'
php-version: '8.0'
extensions: mbstring, xml
tools: composer:v2
coverage: none
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
id: setup-php
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: '7.4'
php-version: '8.0'
tools: composer:v2
extensions: mbstring, xml

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"simplesamlphp/composer-module-installer": "^1.3.2"
},
"require-dev": {
"simplesamlphp/simplesamlphp-test-framework": "~1.5.4"
"simplesamlphp/simplesamlphp-test-framework": "~1.3.4 <1.4"
},
"support": {
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-discopower/issues",
Expand Down

0 comments on commit a06f643

Please sign in to comment.