From 4c59c285df167fdc8cdfb685506f2a3910a4ef21 Mon Sep 17 00:00:00 2001 From: JohnAlbin Date: Wed, 11 Oct 2023 02:35:16 +0800 Subject: [PATCH] ci: update GitHub actions versions --- .github/workflows/next-drupal-query.yml | 2 +- .github/workflows/next-drupal.yml | 2 +- .github/workflows/next.yml | 6 +++--- .github/workflows/release-pr.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/next-drupal-query.yml b/.github/workflows/next-drupal-query.yml index 5ebe1ccd..0e5515c5 100644 --- a/.github/workflows/next-drupal-query.yml +++ b/.github/workflows/next-drupal-query.yml @@ -8,7 +8,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install modules run: yarn - name: Run tests diff --git a/.github/workflows/next-drupal.yml b/.github/workflows/next-drupal.yml index f34d98c0..477cd61e 100644 --- a/.github/workflows/next-drupal.yml +++ b/.github/workflows/next-drupal.yml @@ -7,7 +7,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{github.event.pull_request.head.ref}} repository: ${{github.event.pull_request.head.repo.full_name}} diff --git a/.github/workflows/next.yml b/.github/workflows/next.yml index 8eb4d708..a7c9c749 100644 --- a/.github/workflows/next.yml +++ b/.github/workflows/next.yml @@ -30,7 +30,7 @@ jobs: - 3306 options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} @@ -42,11 +42,11 @@ jobs: run: | cd modules/next echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT" - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: ${{ steps.composercache.outputs.dir }} key: ${{ runner.os }}-${{ matrix.drupal }}-composer-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-composer- + restore-keys: ${{ runner.os }}-${{ matrix.drupal }}-composer- - name: Setup problem matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" - name: Setup Drupal diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index 028ab194..bfbb213d 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -10,7 +10,7 @@ jobs: environment: Preview steps: - name: Init - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Setup Node