From ce094908fba4d27e481c13fd2df626559ba3d641 Mon Sep 17 00:00:00 2001 From: Micah Wood Date: Mon, 17 May 2021 13:54:06 -0400 Subject: [PATCH] Ensure PHP 7.4 for lint workflow and update actions/cache to v2 --- .github/workflows/lint.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 90ab226..c26bce5 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,6 +22,13 @@ jobs: - uses: actions/checkout@v2 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '7.4' + coverage: none + tools: composer, cs2pr + - uses: technote-space/get-diff-action@v3 with: SUFFIX_FILTER: .php @@ -36,7 +43,7 @@ jobs: if: "!! env.GIT_DIFF" - name: Cache Composer vendor directory - uses: actions/cache@v1 + uses: actions/cache@v2 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}