From bf169f0eb772838101190a795aac2e52f82d9e36 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Tue, 13 Aug 2024 00:05:45 +0100 Subject: [PATCH] Update these actions. --- .github/workflows/deploy.yml | 8 ++++---- .github/workflows/test.yml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b0b1d8c..3e10548 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,9 +18,9 @@ jobs: url: https://www.npmjs.com/package/wp-json-schemas timeout-minutes: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' registry-url: https://registry.npmjs.org/ @@ -38,9 +38,9 @@ jobs: url: https://www.npmjs.com/package/wp-types timeout-minutes: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' registry-url: https://registry.npmjs.org/ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33ec837..6330306 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,14 +20,14 @@ jobs: timeout-minutes: 10 steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get Composer cache directory id: composer-cache run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Composer cache - uses: actions/cache@v3 + uses: actions/cache@v4 env: cache-name: cache-composer-dependencies with: @@ -35,7 +35,7 @@ jobs: key: php-8.0-composer-${{ hashFiles('composer.json') }} - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version-file: '.nvmrc'