From 8116900118cb42e4bbff0afd28bb0efbd1d30cc0 Mon Sep 17 00:00:00 2001 From: Jason McCreary Date: Wed, 11 Dec 2024 18:23:38 -0500 Subject: [PATCH] Bump GitHub Actions --- .github/workflows/build.yml | 10 +++++----- .github/workflows/demo.yml | 10 +++++----- .github/workflows/lint.yml | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cbe69179..58ca5c13 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,16 +35,16 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Determine composer cache directory - id: determine-composer-cache-directory - run: 'echo "::set-output name=directory::$(composer config cache-dir)"' + id: composer-cache + run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: - path: ${{ steps.determine-composer-cache-directory.outputs.directory }} + path: ${{ steps.composer-cache.outputs.dir }} key: dependencies-os-${{ matrix.os }}-php-${{ matrix.php-version }}-laravel-${{ matrix.laravel-version }}-${{ matrix.stability }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: dependencies-os-${{ matrix.os }}-php-${{ matrix.php-version }}-laravel-${{ matrix.laravel-version }}-${{ matrix.stability }}-composer- diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 91a95bf2..e1979dcf 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -39,18 +39,18 @@ jobs: continue-on-error: true steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.ref }} - name: Determine composer cache directory - id: determine-composer-cache-directory - run: 'echo "::set-output name=directory::$(composer config cache-dir)"' + id: composer-cache + run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v4 with: - path: ${{ steps.determine-composer-cache-directory.outputs.directory }} + path: ${{ steps.composer-cache.outputs.dir }} key: dependencies-os-${{ matrix.os }}-php-${{ matrix.php-version }}-laravel-${{ matrix.laravel-version }}-prefer-stable-composer-${{ hashFiles('**/composer.lock') }} restore-keys: dependencies-os-${{ matrix.os }}-php-${{ matrix.php-version }}-laravel-${{ matrix.laravel-version }}-prefer-stable-composer- diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e1d2ea54..8dd55135 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: