From c2861331fb799060cb1ac9d93467a13f661b2da5 Mon Sep 17 00:00:00 2001 From: Casey McLaughlin Date: Sun, 8 Dec 2024 09:10:06 -0500 Subject: [PATCH] Updated GitHub build `action/checkout` and `action/cache` --- .github/workflows/php.yml | 8 ++++---- CHANGELOG.md | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index e19cdd4..bf1a407 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -1,15 +1,15 @@ name: Github Build -on: [push, pull_request] +on: [ push, pull_request ] jobs: build: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - php: ['7.4', '7.3', '7.2', '8.0', '8.1', '8.2'] + php: [ '7.4', '7.3', '7.2', '8.0', '8.1', '8.2' ] name: PHP ${{ matrix.php }} steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Install PHP uses: shivammathur/setup-php@v2 with: @@ -23,7 +23,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache dependencies - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ matrix.php }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 2516e53..ab2d426 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## UNRELEASED ### Added - PHP 8.2 Github Build +### +- Updated GitHub build `action/checkout` and `action/cache` ### Fixed - Build issue with PHPStan in `HtmlHelper`