Skip to content

Commit b97569d

Browse files
Bump the all-actions group with 2 updates (#40)
* Create dependabot.yml * Fix typo * Bump the all-actions group with 2 updates Bumps the all-actions group with 2 updates: [actions/download-artifact](https://github.com/actions/download-artifact) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `actions/download-artifact` from 3 to 4 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@v3...v4) Updates `codecov/codecov-action` from 3 to 4 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v3...v4) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-actions - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: all-actions ... Signed-off-by: dependabot[bot] <support@github.com> * Add missing dependencies * Fix dependencies * Add missing dependencies * Start testing PHP 8.3 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Tim van Dijen <tvdijen@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent df6ab22 commit b97569d

File tree

4 files changed

+46
-10
lines changed

4 files changed

+46
-10
lines changed

.github/dependabot.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
3+
# To get started with Dependabot version updates, you'll need to specify which
4+
# package ecosystems to update and where the package manifests are located.
5+
# Please see the documentation for all configuration options:
6+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
7+
8+
version: 2
9+
updates:
10+
- package-ecosystem: "github-actions" # See documentation for possible values
11+
directory: "/" # Location of package manifests
12+
schedule:
13+
interval: "weekly"
14+
groups:
15+
all-actions:
16+
patterns: ["*"]
17+
18+
- package-ecosystem: "composer" # See documentation for possible values
19+
directory: "/" # Location of package manifests
20+
schedule:
21+
interval: "daily"
22+
groups:
23+
dev-dependencies:
24+
dependency-type: "development"
25+
update-types:
26+
- "minor"
27+
- "patch"

.github/workflows/php.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
uses: shivammathur/setup-php@v2
4848
with:
4949
# Should be the higest supported version, so we can use the newest tools
50-
php-version: '8.2'
50+
php-version: '8.3'
5151
tools: composer, composer-require-checker, composer-unused, phpcs, psalm
5252
# optional performance gain for psalm: opcache
5353
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, spl, xml
@@ -113,7 +113,7 @@ jobs:
113113
uses: shivammathur/setup-php@v2
114114
with:
115115
# Should be the lowest supported version
116-
php-version: '8.0'
116+
php-version: '8.1'
117117
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
118118
tools: composer
119119
coverage: none
@@ -153,7 +153,7 @@ jobs:
153153
fail-fast: false
154154
matrix:
155155
operating-system: [ubuntu-latest]
156-
php-versions: ['8.0', '8.1', '8.2']
156+
php-versions: ['8.1', '8.2', '8.3']
157157

158158
steps:
159159
- name: Setup PHP, with composer and extensions
@@ -193,15 +193,15 @@ jobs:
193193
run: composer install --no-progress --prefer-dist --optimize-autoloader
194194

195195
- name: Run unit tests with coverage
196-
if: ${{ matrix.php-versions == '8.2' }}
196+
if: ${{ matrix.php-versions == '8.3' }}
197197
run: vendor/bin/phpunit
198198

199199
- name: Run unit tests (no coverage)
200-
if: ${{ matrix.php-versions != '8.2' }}
200+
if: ${{ matrix.php-versions != '8.3' }}
201201
run: vendor/bin/phpunit --no-coverage
202202

203203
- name: Save coverage data
204-
if: ${{ matrix.php-versions == '8.2' }}
204+
if: ${{ matrix.php-versions == '8.3' }}
205205
uses: actions/upload-artifact@v4
206206
with:
207207
name: coverage-data
@@ -215,7 +215,7 @@ jobs:
215215
fail-fast: true
216216
matrix:
217217
operating-system: [windows-latest]
218-
php-versions: ['8.0', '8.1', '8.2']
218+
php-versions: ['8.1', '8.2', '8.3']
219219

220220
steps:
221221
- name: Setup PHP, with composer and extensions
@@ -264,13 +264,13 @@ jobs:
264264
steps:
265265
- uses: actions/checkout@v4
266266

267-
- uses: actions/download-artifact@v3
267+
- uses: actions/download-artifact@v4
268268
with:
269269
name: coverage-data
270270
path: ${{ github.workspace }}/build
271271

272272
- name: Codecov
273-
uses: codecov/codecov-action@v3
273+
uses: codecov/codecov-action@v4
274274
with:
275275
token: ${{ secrets.CODECOV_TOKEN }}
276276
fail_ci_if_error: true

composer.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "CAS 1.0 and 2.0 compliant CAS server module for simpleSAMLphp",
44
"keywords": [ "cas", "server", "cas 1.0","cas 2.0" ],
55
"homepage": "https://github.com/simplesamlphp/simplesamlphp-module-casserver",
6-
"license": "LGPL-2.1",
6+
"license": "LGPL-2.1-or-later",
77
"type": "simplesamlphp-module",
88
"config": {
99
"preferred-install": {
@@ -28,7 +28,12 @@
2828
},
2929
"require": {
3030
"php": "^8.1",
31+
"ext-ctype": "*",
32+
"ext-dom": "*",
33+
"ext-filter": "*",
34+
"ext-libxml": "*",
3135

36+
"simplesamlphp/assert": "^1.0",
3237
"simplesamlphp/composer-module-installer": "^1.3.4",
3338
"simplesamlphp/simplesamlphp": "^2.1",
3439
"simplesamlphp/xml-cas": "^1.0.3",
@@ -41,5 +46,8 @@
4146
"support": {
4247
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-casserver/issues",
4348
"source": "https://github.com/simplesamlphp/simplesamlphp-module-casserver"
49+
},
50+
"suggest": {
51+
"ext-pdo": "*"
4452
}
4553
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"symbol-whitelist": [
3+
"ext-PDO"
34
]
45
}

0 commit comments

Comments
 (0)