Skip to content

Commit

Permalink
update github actions version, adjust output notation and track githu…
Browse files Browse the repository at this point in the history
…b actins deps via dependabot
  • Loading branch information
smoench committed Dec 19, 2024
1 parent acfba91 commit cd5b7e4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 27 deletions.
25 changes: 8 additions & 17 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

steps:
- name: "Checkout"
uses: "actions/checkout@v2"
uses: "actions/checkout@v4"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -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 }}
Expand Down Expand Up @@ -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"
Expand All @@ -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 }}
Expand All @@ -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"
Expand All @@ -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 }}
Expand Down

0 comments on commit cd5b7e4

Please sign in to comment.