From cd5b7e4f06f2d05ffb543506f0158e67bf8856eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20M=C3=B6nch?= Date: Thu, 19 Dec 2024 12:37:58 +0100 Subject: [PATCH] update github actions version, adjust output notation and track github actins deps via dependabot --- .github/dependabot.yml | 25 +++++++------------- .github/workflows/dependabot-auto-merge.yaml | 2 +- .github/workflows/test-suite.yml | 18 +++++++------- 3 files changed, 18 insertions(+), 27 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0e1a424..ceac346 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,22 +5,13 @@ updates: schedule: interval: "daily" - package-ecosystem: "composer" - directory: "/tools/cs-fixer" - schedule: - interval: "monthly" - - package-ecosystem: "composer" - directory: "/tools/infection" - schedule: - interval: "monthly" - - package-ecosystem: "composer" - directory: "/tools/phpbench" - schedule: - interval: "monthly" - - package-ecosystem: "composer" - directory: "/tools/phpstan" - schedule: - interval: "monthly" - - package-ecosystem: "composer" - directory: "/tools/psalm" + directories: + - "/tools/cs-fixer" + - "/tools/infection" + - "/tools/phpbench" + - "/tools/phpstan" + - "/tools/psalm" + - package-ecosystem: "github-actions" + directory: "/" schedule: interval: "monthly" \ No newline at end of file diff --git a/.github/workflows/dependabot-auto-merge.yaml b/.github/workflows/dependabot-auto-merge.yaml index 484f5c7..77c4dbe 100644 --- a/.github/workflows/dependabot-auto-merge.yaml +++ b/.github/workflows/dependabot-auto-merge.yaml @@ -12,7 +12,7 @@ jobs: steps: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v1 + uses: dependabot/fetch-metadata@v2 with: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Enable auto-merge for Dependabot PRs diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index e038a7b..a06d026 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -27,7 +27,7 @@ jobs: steps: - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "Install PHP" uses: "shivammathur/setup-php@v2" @@ -40,10 +40,10 @@ jobs: - name: "Get Composer Cache Directory" id: composer-cache run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: "Cache Composer dependencies" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: | ${{ steps.composer-cache.outputs.dir }} @@ -71,7 +71,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "Install PHP" uses: "shivammathur/setup-php@v2" @@ -84,10 +84,10 @@ jobs: - name: "Get Composer Cache Directory" id: composer-cache run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: "Cache Composer dependencies" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: | ${{ steps.composer-cache.outputs.dir }} @@ -106,7 +106,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Checkout" - uses: "actions/checkout@v2" + uses: "actions/checkout@v4" - name: "Install PHP" uses: "shivammathur/setup-php@v2" @@ -119,10 +119,10 @@ jobs: - name: "Get Composer Cache Directory" id: composer-cache run: | - echo "::set-output name=dir::$(composer config cache-files-dir)" + echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: "Cache Composer dependencies" - uses: "actions/cache@v2" + uses: "actions/cache@v4" with: path: | ${{ steps.composer-cache.outputs.dir }}