Skip to content

Commit

Permalink
[Upgraded] For compatability with Node v16 (Ref:#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbragg committed Oct 20, 2022
1 parent 8fc2c34 commit f1db6e3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/php-codesniffer.yml
@@ -1,5 +1,5 @@
# Vatu: PHP CodeSniffer
# Version: 1.0.0-beta
# Version: 1.1.0
# Author: Michael Bragg <mike@vatu.co.uk>
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

Expand Down Expand Up @@ -35,10 +35,10 @@ jobs:
steps:

- name: "Checks out the repository."
uses: "actions/checkout@v2"
uses: "actions/checkout@v3.1.0"

- name: "Install PHP with Composer tool."
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@v2.21.2
with:
php-version: "${{ inputs.version-php }}"
coverage: "none"
Expand All @@ -51,10 +51,10 @@ jobs:
- name: "Get Composer Cache Directory."
id: composer-cache
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
echo echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: "Sets up Caching."
uses: "actions/cache@v2"
uses: "actions/cache@v3.0.11"
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-php-composer-build-${{ hashFiles('composer.json') }}
Expand Down

0 comments on commit f1db6e3

Please sign in to comment.