Skip to content

Commit

Permalink
Update some actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Feb 28, 2024
1 parent 4b4183e commit cf00ac7
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/reusable-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
LOCAL_WP_DEBUG: ${{ inputs.php < 8.1 && 1 || 0 }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure environment variables
run: |
Expand All @@ -53,7 +53,7 @@ jobs:
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Composer cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: 8.0-composer-${{ hashFiles('composer.json') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install PHP
if: ${{ inputs.vendor }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reusable-coding-standards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure environment variables
run: |
Expand All @@ -41,13 +41,13 @@ jobs:
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Composer cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ inputs.php }}-composer-${{ hashFiles('composer.json') }}

- name: PHPCS and PHPStan cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: tests/cache
key: ${{ inputs.php }}-phpcs-${{ hashFiles('composer.json') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-deploy-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
timeout-minutes: 10
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install PHP
if: ${{ inputs.vendor }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-deploy-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
LOCAL_WP_DEBUG: ${{ inputs.php < 8.1 && 1 || 0 }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Configure environment variables
run: |
Expand All @@ -54,7 +54,7 @@ jobs:
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Composer cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ inputs.php }}-composer-${{ hashFiles('composer.json') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run actionlint
uses: docker://rhysd/actionlint:latest
Expand Down

0 comments on commit cf00ac7

Please sign in to comment.