From d15219862482c3af618808eaf62ce24f8ce5bd08 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Wed, 17 Jan 2024 18:30:03 +0100 Subject: [PATCH 1/5] Bump cache action --- .github/workflows/php.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 028c58e..473277a 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -58,7 +58,7 @@ jobs: run: echo COMPOSER_CACHE="$(composer config cache-files-dir)" >> "$GITHUB_ENV" - name: Cache composer dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: $COMPOSER_CACHE key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -119,7 +119,7 @@ jobs: run: echo COMPOSER_CACHE="$(composer config cache-files-dir)" >> "$GITHUB_ENV" - name: Cache composer dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: $COMPOSER_CACHE key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} From fdd5b54b249e54c691bec23ec1310e9a1f78a762 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Fri, 19 Jan 2024 23:45:42 +0100 Subject: [PATCH 2/5] Create dependabot.yml --- .github/dependabot.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..c293f08 --- /dev/null +++ b/.github/dependabot.yml @@ -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: "compposer" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" + groups: + dev-dependencies: + dependency-type: "development" + update-types: + - "minor" + - "patch" From f91910e45a5101a93a2e02737989c9bcdf474f0a Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Wed, 14 Feb 2024 22:53:13 +0100 Subject: [PATCH 3/5] Fix typo --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c293f08..0013236 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,7 +15,7 @@ updates: all-actions: patterns: ["*"] - - package-ecosystem: "compposer" # See documentation for possible values + - package-ecosystem: "composer" # See documentation for possible values directory: "/" # Location of package manifests schedule: interval: "daily" From efb77c2dceecdf2ad24ba5389b46e993be38b1d3 Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Tue, 20 Feb 2024 21:19:07 +0100 Subject: [PATCH 4/5] Fix super-linter --- .github/workflows/php.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 473277a..bc6c635 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -20,13 +20,17 @@ jobs: steps: - uses: actions/checkout@v4 with: + # super-linter needs the full git history to get the + # list of files that changed across commits fetch-depth: 0 - name: Lint Code Base uses: github/super-linter/slim@v5 env: - VALIDATE_ALL_CODEBASE: true + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} LINTER_RULES_PATH: 'tools/linters' + VALIDATE_ALL_CODEBASE: true VALIDATE_JSON: true VALIDATE_PHP_BUILTIN: true VALIDATE_YAML: true From 41a3544811a9cce9dacfc3b485ebdfcf0eb433fe Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Thu, 14 Mar 2024 00:58:12 +0100 Subject: [PATCH 5/5] Bump dependencies --- .github/workflows/php.yml | 2 +- composer.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index bc6c635..a5b6b66 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -109,7 +109,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, filter, hash, intl, mbstring, openssl, pcre, spl, xml tools: composer coverage: none diff --git a/composer.json b/composer.json index 015a4da..15277be 100644 --- a/composer.json +++ b/composer.json @@ -16,14 +16,14 @@ } }, "require": { - "phpunit/phpunit": "^9.6 || ^10.0", - "slevomat/coding-standard": "^8.14" + "phpunit/phpunit": "^9.6 || ^10.0 || ^11.0", + "slevomat/coding-standard": "^8.15" }, "require-dev": { - "php": "^8.0", + "php": "^8.1", "ext-curl": "*", - "simplesamlphp/simplesamlphp": "^2.0.0" + "simplesamlphp/simplesamlphp": "^2.2.0" }, "support": { "issues": "https://github.com/simplesamlphp/simplesamlphp-test-framework/issues",