Skip to content

Commit

Permalink
Bump the all-actions group with 2 updates (#40)
Browse files Browse the repository at this point in the history
* 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] <[email protected]>

* Add missing dependencies

* Fix dependencies

* Add missing dependencies

* Start testing PHP 8.3

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Tim van Dijen <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and tvdijen committed Feb 13, 2024
1 parent df6ab22 commit b97569d
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 10 deletions.
27 changes: 27 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---

# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
groups:
all-actions:
patterns: ["*"]

- package-ecosystem: "composer" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
groups:
dev-dependencies:
dependency-type: "development"
update-types:
- "minor"
- "patch"
18 changes: 9 additions & 9 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
# Should be the higest supported version, so we can use the newest tools
php-version: '8.2'
php-version: '8.3'
tools: composer, composer-require-checker, composer-unused, phpcs, psalm
# optional performance gain for psalm: opcache
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, opcache, openssl, pcre, spl, xml
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
# Should be the lowest supported version
php-version: '8.0'
php-version: '8.1'
extensions: ctype, date, dom, fileinfo, filter, hash, intl, mbstring, openssl, pcre, spl, xml
tools: composer
coverage: none
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.1', '8.2', '8.3']

steps:
- name: Setup PHP, with composer and extensions
Expand Down Expand Up @@ -193,15 +193,15 @@ jobs:
run: composer install --no-progress --prefer-dist --optimize-autoloader

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

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

- name: Save coverage data
if: ${{ matrix.php-versions == '8.2' }}
if: ${{ matrix.php-versions == '8.3' }}
uses: actions/upload-artifact@v4
with:
name: coverage-data
Expand All @@ -215,7 +215,7 @@ jobs:
fail-fast: true
matrix:
operating-system: [windows-latest]
php-versions: ['8.0', '8.1', '8.2']
php-versions: ['8.1', '8.2', '8.3']

steps:
- name: Setup PHP, with composer and extensions
Expand Down Expand Up @@ -264,13 +264,13 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: coverage-data
path: ${{ github.workspace }}/build

- name: Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
Expand Down
10 changes: 9 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "CAS 1.0 and 2.0 compliant CAS server module for simpleSAMLphp",
"keywords": [ "cas", "server", "cas 1.0","cas 2.0" ],
"homepage": "https://github.com/simplesamlphp/simplesamlphp-module-casserver",
"license": "LGPL-2.1",
"license": "LGPL-2.1-or-later",
"type": "simplesamlphp-module",
"config": {
"preferred-install": {
Expand All @@ -28,7 +28,12 @@
},
"require": {
"php": "^8.1",
"ext-ctype": "*",
"ext-dom": "*",
"ext-filter": "*",
"ext-libxml": "*",

"simplesamlphp/assert": "^1.0",
"simplesamlphp/composer-module-installer": "^1.3.4",
"simplesamlphp/simplesamlphp": "^2.1",
"simplesamlphp/xml-cas": "^1.0.3",
Expand All @@ -41,5 +46,8 @@
"support": {
"issues": "https://github.com/simplesamlphp/simplesamlphp-module-casserver/issues",
"source": "https://github.com/simplesamlphp/simplesamlphp-module-casserver"
},
"suggest": {
"ext-pdo": "*"
}
}
1 change: 1 addition & 0 deletions tools/composer-require-checker.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"symbol-whitelist": [
"ext-PDO"
]
}

0 comments on commit b97569d

Please sign in to comment.